Improper Input Validation Affecting gitweb package, versions <0:2.13.6-1.55.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.7% (81st 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-GITWEB-3247338
  • published25 Jan 2023
  • disclosed29 Sept 2017

Introduced: 29 Sep 2017

CVE-2017-14867  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 gitweb to version 0:2.13.6-1.55.amzn1 or higher.
This issue was patched in ALAS-2017-910.

NVD Description

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

Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.