Heap-based Buffer Overflow Affecting perl-libnetcfg package, versions <4:5.32.1-477.amzn2023.0.6


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.83% (53rd 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 Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PERLLIBNETCFG-6127189
  • published15 Dec 2023
  • disclosed18 Dec 2023

Introduced: 15 Dec 2023

CVE-2023-47038  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-libnetcfg to version 4:5.32.1-477.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2023-448.

NVD Description

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

A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.

CVSS Base Scores

version 3.1