CVE Catalog

CVE-2005-1935

High
Published: Translated: NVD NIST

Summary

Heap-based buffer overflow in the BERDecBitString function in Microsoft ASN.1 library (MSASN1.DLL) allows remote attackers to execute arbitrary code via nested constructed bit strings, which leads to a realloc of a non-null pointer and causes the function to overwrite previously freed memory, as demonstrated using a SPNEGO token with a constructed bit string during HTTP authentication.

Risk Assessment

An attacker can remotely take control of the system by executing arbitrary code in the context of the application using the ASN.1 library, potentially leading to full system compromise.

Recommendation

Immediately apply the MS04-007 update which addresses this vulnerability, and ensure all systems are protected against similar attacks through regular updates.

Related vulnerabilities

Original NVD description (English source)

Heap-based buffer overflow in the BERDecBitString function in Microsoft ASN.1 library (MSASN1.DLL) allows remote attackers to execute arbitrary code via nested constructed bit strings, which leads to a realloc of a non-null pointer and causes the function to overwrite previously freed memory, as demonstrated using a SPNEGO token with a constructed bit string during HTTP authentication, and a different vulnerability than CVE-2003-0818. NOTE: the researcher has claimed that MS:MS04-007 fixes this issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS