NULL Pointer Dereference Affecting freeradius-mysql package, versions <0:3.0.21-37.el9


Severity

Recommended
medium

Based on AlmaLinux 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-ALMALINUX9-FREERADIUSMYSQL-5625534
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

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

How to fix?

Upgrade AlmaLinux:9 freeradius-mysql to version 0:3.0.21-37.el9 or higher.
This issue was patched in ALSA-2023:2166.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freeradius-mysql package and not the freeradius-mysql package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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