GHSA-4j9m-h44m-2hv8

Suggest an improvement
Source
https://github.com/advisories/GHSA-4j9m-h44m-2hv8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-4j9m-h44m-2hv8/GHSA-4j9m-h44m-2hv8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4j9m-h44m-2hv8
Aliases
Published
2026-07-02T20:32:21Z
Modified
2026-07-02T20:45:13.203644944Z
Severity
  • 1.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-256",
        "CWE-327"
    ],
    "github_reviewed": true,
    "severity": "LOW",
    "github_reviewed_at": "2026-07-02T20:32:21Z",
    "nvd_published_at": "2026-06-17T23:17:04Z"
}
References

Affected packages

NuGet / Steeltoe.Configuration.Encryption

Package

Name
Steeltoe.Configuration.Encryption
View open source insights on deps.dev
Purl
pkg:nuget/Steeltoe.Configuration.Encryption

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.2.0

Affected versions

4.*
4.0.0
4.1.0

Database specific

last_known_affected_version_range
"<= 4.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-4j9m-h44m-2hv8/GHSA-4j9m-h44m-2hv8.json"