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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.94% (88th 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-1696642
  • published27 Sept 2021
  • disclosed5 Jun 2020

Introduced: 5 Jun 2020

CVE-2020-10543  (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-299.amzn2.0.1 or higher.
This issue was patched in ALAS2-2021-1610.

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.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer overflow.

CVSS Base Scores

version 3.1