Integer Overflow or Wraparound Affecting perl5 package, versions [,5.30.3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.12% (32nd 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-UNMANAGED-PERL5-2317616
  • published14 Dec 2021
  • disclosed5 Jun 2020
  • creditUnknown

Introduced: 5 Jun 2020

CVE-2020-10878  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade perl5 to version 5.30.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situation. A crafted regular expression could lead to malformed bytecode with a possibility of instruction injection.

CVSS Base Scores

version 3.1