Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store (digitalbazaar forge)

CVE-2026-118780
LOW 3.7

En bref

Source
CVE.org
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M

Description

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pki.verifyCertificateChain(), pki.createCaStore(), duplicate subject names to process the relevant input or security decision. node-forge modified the CA store while trying certificates that shared a subject name during pki.verifyCertificateChain(). A failed chain verification could permanently remove trusted CA certificates from the store, causing later valid chains to fail and creating a persistent availability impact for applications that reused the store. This issue is fixed in version 1.4.1.

Faiblesses (CWE)

  • CWE-295 — Validation incorrecte de certificat
  • CWE-471 — Modification de données supposées immuables

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1LOW 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Références européennes

Produits affectés

ProduitVersions
digitalbazaar · forgeaffected < 1.4.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
ENISA EUVDENISA — reproduction authorised, source acknowledged