Skip to content

Commit 473ba16

Browse files
committed
security: suppress unreachable cryptography PKCS#7 advisory (osv-scanner)
Security Scan flagged cryptography@49.0.0 CVE-2026-69247 (GHSA-g6cj-pr64-35w5 / PYSEC-2026-3552, CVSS 8.2) — a Bleichenbacher-style oracle in PKCS#7 EnvelopedData / S-MIME decryption. `cryptography` is a transitive dep (PyJWT[crypto] / oauthlib) used only for OAuth token signing/verification; the connector never decrypts PKCS#7 / S-MIME, so the vulnerable path is never invoked. Pre-existing on main (transitive, not introduced by this PR). Suppress both OSV ids with justification; a clean bump awaits PyJWT/oauthlib floors pulling cryptography>=50. Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
1 parent 077fb5a commit 473ba16

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

osv-scanner.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,26 @@
1616
# This file starts empty -- populate iteratively as the first scan run
1717
# surfaces real false positives. Do not pre-populate with speculative
1818
# suppressions.
19+
20+
[[IgnoredVulns]]
21+
id = "GHSA-g6cj-pr64-35w5"
22+
# CVE-2026-69247 / PYSEC-2026-3552 -- a Bleichenbacher-style timing/error
23+
# oracle in cryptography's PKCS#7 *EnvelopedData* decryption
24+
# (pkcs7_decrypt_der/pem/smime), exploitable only against an endpoint that
25+
# auto-decrypts attacker-supplied S/MIME EnvelopedData and responds
26+
# adaptively. Affects cryptography >=44.0.0,<50.0.0; fixed in 50.0.0.
27+
#
28+
# Not reachable here: `cryptography` is a transitive dependency (via
29+
# PyJWT[crypto] / oauthlib, for OAuth token signing/verification). The
30+
# connector never decrypts PKCS#7 / S/MIME EnvelopedData -- the vulnerable
31+
# code path is never invoked. Pre-existing on main (transitive, not
32+
# introduced by any connector change); a clean bump awaits PyJWT/oauthlib
33+
# floors that pull cryptography>=50. Re-evaluate when the dependency tree
34+
# resolves to a fixed cryptography.
35+
36+
[[IgnoredVulns]]
37+
# Same advisory under its PYSEC alias -- OSV reports both ids for this
38+
# finding, so suppress both to be safe (see GHSA-g6cj-pr64-35w5 above for
39+
# the full justification: unreachable PKCS#7/S-MIME decryption oracle in a
40+
# transitive dependency).
41+
id = "PYSEC-2026-3552"

0 commit comments

Comments
 (0)