Bug 2521776 - CVE-2026-78323 jss: jss: JSSTrustManager does not verify NSS trust flags on CA certificates [fedora-all]
Summary: CVE-2026-78323 jss: jss: JSSTrustManager does not verify NSS trust flags on C...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: jss
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Endi Sukma Dewata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["09973fde-9013-414b-a9dc-e...
Depends On:
Blocks: CVE-2026-78323
TreeView+ depends on / blocked
 
Reported: 2026-08-24 09:39 UTC by Samuele Negrini
Modified: 2026-08-24 09:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Samuele Negrini 2026-08-24 09:39:43 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in JSS (Java Security Services). The JSSTrustManager class, which implements javax.net.ssl.X509TrustManager for JSS-based TLS connections, does not filter CA certificates by NSS trust flags when building its set of accepted issuers. The getAcceptedIssuers() method returns all certificates with basicConstraints CA=TRUE from the NSS database regardless of whether they carry TRUSTED_CA trust flags, and checkSignature() performs only cryptographic signature validation against this unfiltered set. This means a certificate present in the NSS database with only VALID_CA flags (as set by routine operations such as certificate enrollment via CERT_ImportCAChainTrusted) could be treated as a trust anchor for TLS connections. In default configurations, the native revocation verification check (certChainRevokeVerify) catches this condition because NSS's native verification properly validates trust flags. However, if revocation checking is disabled, an attacker controlling the private key of an under-trusted CA could forge certificates accepted by JSSTrustManager, enabling man-in-the-middle attacks on outbound PKI client connections.


Note You need to log in before you can comment on or make changes to this bug.