Improper Null Termination Affecting iniparser package, versions <0:3.1-5.amzn2.0.3


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (13th 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-INIPARSER-5789280
  • published20 Jul 2023
  • disclosed1 Jun 2023

Introduced: 1 Jun 2023

CVE-2023-33461  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 iniparser to version 0:3.1-5.amzn2.0.3 or higher.
This issue was patched in ALAS2-2023-2124.

NVD Description

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

iniparser v4.1 is vulnerable to NULL Pointer Dereference in function iniparser_getlongint which misses check NULL for function iniparser_getstring's return.

CVSS Base Scores

version 3.1