CVE-2004-0918 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can cause a denial of service in Squid Web Proxy Cache by sending malicious SNMP packets with negative length fields.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0918?

CVE-2004-0918 is a medium-severity denial of service vulnerability in Gentoo Linux, published on 21 Oct 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The asn_parse_header function (asn1.c) in the SNMP module for Squid Web Proxy Cache before 2.4.STABLE7 allows remote attackers to cause a denial of service (server restart) via certain SNMP packets with negative length fields that trigger a memory allocation error.

Weakness: CWE-399

Which versions are affected by CVE-2004-0918?

It affects 6 products.

Linux distribution packages (8)
squid Red Hat:enterprise_linux:3::asAll versions7:2.5.STABLE3-6.3E.2
squid-debuginfo Red Hat:enterprise_linux:3::asAll versions7:2.5.STABLE3-6.3E.2
squid Red Hat:enterprise_linux:3::desktopAll versions7:2.5.STABLE3-6.3E.2
squid-debuginfo Red Hat:enterprise_linux:3::desktopAll versions7:2.5.STABLE3-6.3E.2
squid Red Hat:enterprise_linux:3::esAll versions7:2.5.STABLE3-6.3E.2
squid-debuginfo Red Hat:enterprise_linux:3::esAll versions7:2.5.STABLE3-6.3E.2
squid Red Hat:enterprise_linux:3::wsAll versions7:2.5.STABLE3-6.3E.2
squid-debuginfo Red Hat:enterprise_linux:3::wsAll versions7:2.5.STABLE3-6.3E.2

Products include Gentoo Linux, Openpkg Openpkg, Redhat Fedora Core, Squid Squid, Trustix Secure Linux, Ubuntu Ubuntu Linux.

How do I fix CVE-2004-0918?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2004-0918 being exploited?

There is no known exploitation of CVE-2004-0918 in the wild and no public exploit code.

All Gentoo Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-0918, GHSA-jx7g-w69f-vmq6, RHSA-2004:591.

Is CVE-2004-0918 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free