Directory Traversal Affecting lighttpd-fastcgi package, versions <0:1.4.53-1.36.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
13.71% (97th 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-AMZN201803-LIGHTTPDFASTCGI-1718737
  • published27 Sept 2021
  • disclosed7 Nov 2018

Introduced: 7 Nov 2018

CVE-2018-19052  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 lighttpd-fastcgi to version 0:1.4.53-1.36.amzn1 or higher.
This issue was patched in ALAS-2019-1265.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lighttpd-fastcgi package and not the lighttpd-fastcgi package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50. There is potential ../ path traversal of a single directory above an alias target, with a specific mod_alias configuration where the matched alias lacks a trailing '/' character, but the alias target filesystem path does have a trailing '/' character.

CVSS Base Scores

version 3.1