CVE-2013-4314
Description
The X509Extension in pyOpenSSL before 0.13.1 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| ubuntu | 10.04 | affected | |
| ubuntu | 12.04 | affected | |
| ubuntu | 12.10 | affected | |
| ubuntu | 13.04 | affected | |
| debian | bookworm | fixed | 0.13-2.1 |
| debian | bullseye | fixed | 0.13-2.1 |
| debian | forky | fixed | 0.13-2.1 |
| debian | sid | fixed | 0.13-2.1 |
| debian | trixie | fixed | 0.13-2.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | pyopenssl | <0.13.1 | 0.13.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4314
- https://github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2
- https://bugzilla.redhat.com/show_bug.cgi?id=1005325
- https://github.com/pyca/pyopenssl
- https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml
- https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html
- http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html
- http://www.debian.org/security/2013/dsa-2763
- http://www.openwall.com/lists/oss-security/2013/09/06/2
- http://www.ubuntu.com/usn/USN-1965-1
- https://security-tracker.debian.org/tracker/CVE-2013-4314
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.