Severity
6.9
Medium severity
Details
- CVSS score
- 6.9
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Overview
About vulnerability
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 45.0.0 through 48.0.0, if an intermediate constrained CA permits the DNS name foo.example.com, and the leaf certificate has a wildcard in its DNS SAN of *.example.com, python-cryptography’s verifier accepts which allows escaping outside of the permitted names. The core issue is in DNSConstraint::matches, where a wildcard pattern was treated as matching a more-specific permitted constraint even though *.example.com can expand to sibling names such as bar.example.com outside foo.example.com. This allows acceptance of an invalid certificate chain. This issue is fixed in 49.0.0.Details
- Affected product:
- Debian 11 ELS , Ubuntu 18.04 ELS , airflow , apache-airflow-providers-http , cryptography , databricks-sdk , google-api-core , google-auth , google-auth-httplib2 , google-cloud-compute , google-cloud-core , google-cloud-pubsub , google-cloud-storage , keyring , mlflow , paramiko , poetry , poetry-plugin-export , pyopenssl , secretstorage
- Affected packages:
- cryptography @ 3.4.8 (+49 more)