CVE-2022-34476
NixOS vulnerability analysis and mitigation

Overview

ASN.1 parsing of an indefinite SEQUENCE inside an indefinite GROUP could have resulted in the parser accepting malformed ASN.1. This vulnerability affects Firefox versions prior to 102 and was disclosed in June 2022. The vulnerability was assigned CVE-2022-34476 and was discovered by security researcher Gustavo Grieco (Mozilla Advisory).

Technical details

The vulnerability occurs when parsing an indefinite-length encoded SEQUENCE that is inside an indefinite-length encoded GROUP (SEQUENCE-OF or SET-OF). The parser incorrectly interprets a single EOC (End-of-Contents) as ending both the SEQUENCE and the GROUP containing it. This affects a legacy decoder that is not used to parse WebPKI X.509 certificates in Firefox, though further investigation was needed to rule out potential impact on PKCS#7 and PKCS#12 usage. The vulnerability was rated as moderate severity (Mozilla Advisory, Bugzilla).

Impact

The worst-case scenario of this vulnerability is that the decoder might accept malformed ASN.1 data by admitting an item that is missing a trailing EOC (End-of-Contents) marker. The impact was assessed as moderate, with limited potential consequences as it affected a legacy decoder not used in primary certificate parsing functions (Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in Firefox 102. The fix involved correcting the handling of end-of-contents octets in the ASN.1 parser to properly handle indefinite-length encoded sequences within groups. Users should upgrade to Firefox 102 or later to receive the fix (Mozilla Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management