Out-of-Bounds Affecting lighttpd package, versions [,1.4.16)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
50.44% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIGHTTPD-2383277
  • published26 Jan 2022
  • disclosed12 Sept 2007
  • creditUnknown

Introduced: 12 Sep 2007

CVE-2007-4727  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade lighttpd to version 1.4.16 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."

References

CVSS Scores

version 3.1