CVE-2024-45341
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain. Certificates containing URIs are not permitted in the web PKI, so this only affects users of private PKIs which make use of URIs.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a certificate chain validation vulnerability where URI name constraints are incorrectly evaluated when the URI contains an IPv6 address with a zone ID (e.g., [fe80::1%eth0]). The constraint validation logic fails to properly handle the zone ID component, causing the constraint check to incorrectly pass or fail. Since URIs are not permitted in web PKI certificates, this only affects private/organizational PKI deployments that use URI-based name constraints.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if you use a private PKIReview your certificate infrastructure. Check if you operate your own Certificate Authority (CA) rather than relying solely on public web PKI CAs like Let's Encrypt, DigiCert, or commercial CAs. Look for internal CA certificates installed on your systems.Affected if You operate a private/organizational CA for internal services.
-
Check for URI-based name constraints in your CA policiesExamine your CA certificate templates and policies. Look for nameConstraints extensions with URI (UniformResourceIdentifier) in the permittedSubtrees or excludedSubtrees fields. Use OpenSSL: openssl x509 -in your_ca_cert.pem -noout -text | grep -A5 nameConstraintsAffected if Your CA certificates include URI entries in nameConstraints extensions.
-
Audit certificates for URIs with IPv6 zone IDsSearch your certificate inventory for URIs containing IPv6 addresses with zone IDs (format: [fe80::1%eth0] or similar). Use: openssl crl2pkcs7 -nocrl -certfile CAchain.pem | openssl pkcs7 -print_certs -noout 2>/dev/null | xargs -I{} sh -c 'openssl x509 -in <(echo "{}") -noout -text 2>/dev/null | grep -E "URI.*%"'Affected if You have certificates with URI fields containing IPv6 addresses that include zone IDs (the % symbol).
-
Verify your crypto library versionCheck the version of your cryptographic library (OpenSSL, GnuTLS, mbed TLS, or language-specific crypto libraries). For OpenSSL: openssl version. For Python cryptography: python3 -c 'import cryptography; print(cryptography.__version__)'. Compare against any available fixed versions from your library vendor.Affected if Your crypto library version predates the fix for this CVE and you use private PKI with URI name constraints.
-
Test constraint validation behaviorCreate a test certificate chain with a URI name constraint containing an IPv6 zone ID (e.g., uri:https://[fe80::1%eth0]/). Attempt chain validation using your library: openssl verify -CAfile your_ca.pem -untrusted intermediate.pem end_entity.pem. Observe if constraints are correctly enforced.Affected if Validation incorrectly passes or fails for certificates with IPv6 zone IDs in URI constraints.
You are affected only if you operate a private PKI with URI-based name constraints AND use certificates or CA policies that include URIs with IPv6 addresses containing zone IDs, and your crypto library has not been patched for this vulnerability.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataOrganizations with private PKIs should review certificate chain validation implementations, update affected crypto libraries to the latest version, and audit existing certificate chains for URIs containing IPv6 addresses with zone IDs that may have been incorrectly validated.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-45341 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-45341 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data