NULL Pointer Dereference Affecting freeradius-krb5 package, versions <0:3.0.26-1.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (47th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-FREERADIUSKRB5-3343072
  • published7 Mar 2023
  • disclosed17 Jan 2023

Introduced: 17 Jan 2023

CVE-2022-41860  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 freeradius-krb5 to version 0:3.0.26-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-1970.

NVD Description

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

In freeradius, when an EAP-SIM supplicant sends an unknown SIM option, the server will try to look that option up in the internal dictionaries. This lookup will fail, but the SIM code will not check for that failure. Instead, it will dereference a NULL pointer, and cause the server to crash.

CVSS Scores

version 3.1