NULL Pointer Dereference Affecting freeradius package, versions <3.0.16+dfsg-1ubuntu3.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.12% (48th 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-UBUNTU1804-FREERADIUS-3170610
  • published14 Dec 2022
  • disclosed17 Jan 2023

Introduced: 14 Dec 2022

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

How to fix?

Upgrade Ubuntu:18.04 freeradius to version 3.0.16+dfsg-1ubuntu3.2 or higher.

NVD Description

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