Out-of-bounds Write Affecting perl-macros package, versions <4:5.16.3-294.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
12.15% (94th 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-AMZN2-PERLMACROS-1669116
  • published27 Sept 2021
  • disclosed7 Dec 2018

Introduced: 7 Dec 2018

CVE-2018-18311  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 perl-macros to version 4:5.16.3-294.amzn2 or higher.
This issue was patched in ALAS2-2019-1166.

NVD Description

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

Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

References