CVE-2023-5978

published 8 Nov 2023 · updated 13 Feb 2025

Incorrect libcap_net limitation list manipulation

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in p5.

In versions of FreeBSD 13-RELEASE before 13-RELEASE-p5, under certain circumstances the cap_net libcasper(3) service incorrectly validates that updated constraints are strictly subsets of the active constraints.  When only a list of resolvable domain names was specified without setting any other limitations, an application could submit a new list of domains including include entries not previously listed.  This could permit the application to resolve domain names that were previously restricted.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=13.2-RELEASE <p5p5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-5978 severity on Zeptric[![CVE-2023-5978](https://zeptric.io/badge/cve/CVE-2023-5978.svg)](https://zeptric.io/cve/CVE-2023-5978)