CVE-2005-4077 Integer overflow in n/a

Medium 4.6 Published Updated

Off-by-one errors in libcurl allow attackers to trigger buffer overflows via malformed URLs, causing denial of service or bypassing PHP security restrictions.

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

What is CVE-2005-4077?

CVE-2005-4077 is a medium-severity vulnerability in n/a, published on 8 Dec 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple off-by-one errors in the cURL library (libcurl) 7.11.2 through 7.15.0 allow local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs that (1) are malformed in a way that prevents a terminating null byte from being added to either a hostname or path buffer, or (2) contain a "?" separator in the hostname portion, which causes a "/" to be prepended to the resulting string.

Weakness: CWE-189

Which versions are affected by CVE-2005-4077?

It affects 1 product.

Linux distribution packages (12)
curl Red Hat:enterprise_linux:4::asAll versions0:7.12.1-8.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::asAll versions0:7.12.1-8.rhel4
curl-devel Red Hat:enterprise_linux:4::asAll versions0:7.12.1-8.rhel4
curl Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-8.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-8.rhel4
curl-devel Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-8.rhel4
curl Red Hat:enterprise_linux:4::esAll versions0:7.12.1-8.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::esAll versions0:7.12.1-8.rhel4
curl-devel Red Hat:enterprise_linux:4::esAll versions0:7.12.1-8.rhel4
curl Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-8.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-8.rhel4
curl-devel Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-8.rhel4

Products include Daniel Stenberg Curl.

How do I fix CVE-2005-4077?

Upgrade to a fixed version.

Is CVE-2005-4077 being exploited?

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

Sources

Also known as CURL-CVE-2005-4077, DEBIAN-CVE-2005-4077, GHSA-c4xg-24hh-cq78, RHSA-2005:875.

Is CVE-2005-4077 in your software?

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

Check your SBOMs for free