Directory Traversal Affecting lighttpd package, versions [,1.4.50)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.26% (66th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIGHTTPD-2383276
  • published26 Jan 2022
  • disclosed7 Nov 2018
  • creditUnknown

Introduced: 7 Nov 2018

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

How to fix?

Upgrade lighttpd to version 1.4.50 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.

References

CVSS Scores

version 3.1