Advisory

GHSA-4j9m-h44m-2hv8

Also known as: CVE-2026-50268

Summary

Steeltoe: OAEP setting silently selects PKCS#1 v1.5 padding

Details

Summary

Configuring encrypt:rsa:algorithm=OAEP does not enable OAEP encryption. Due to an incorrect BouncyCastle transformation string, the OAEP setting selects PKCS#1 v1.5, which is the same algorithm as the DEFAULT setting.

Impact

Operators who configure encrypt:rsa:algorithm=OAEP to obtain CCA2-secure padding receive PKCS#1 v1.5 instead. Currently, Decrypt() is called only against operator-controlled configuration data, so no exploitable path exists, but any future code path that exposes a decryption oracle would be Bleichenbacher-vulnerable despite the OAEP setting.

Migration note

Existing {cipher} values produced under the broken OAEP setting were encrypted with PKCS#1 v1.5. The fix makes OAEP use actual OAEP padding, so those values will fail to decrypt after upgrading. Re-encrypt all affected {cipher} values after upgrading.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-07-02 20:32 UTC
Modified
2026-07-02 20:56 UTC

Affected packages and fixes

Steeltoe.Configuration.Encryption

NuGet · All systems

Affected

  • introduced 4.0.0, fixed 4.2.0 (ecosystem)

Fixed versions

4.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences