CVE-2023-1981
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-1981 is a vulnerability discovered in the Avahi library, which was disclosed in April 2023. The vulnerability allows an unprivileged user to make a DBus call that causes the Avahi daemon to crash, resulting in a denial of service condition. This flaw affects multiple versions of the Avahi library across various Linux distributions (NVD, Red Hat CVE).

Technical details

The vulnerability exists in the Avahi daemon's DBus interface handling. When an unprivileged user makes specific DBus calls such as GetAlternativeServiceName or GetAlternativeHostName with empty string parameters, it triggers an abort condition in the daemon. The issue occurs in the dbusmessageiterappendbasic function, leading to a crash through the _pthreadkill_implementation call stack (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium), with attack vector being Local, attack complexity Low, and privileges required Low (Ubuntu Security).

Impact

The primary impact of this vulnerability is a denial of service condition affecting the Avahi daemon. When successfully exploited, it causes the daemon to crash, potentially disrupting network service discovery and Zero Configuration Networking capabilities on affected systems (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in various Linux distributions through security updates. Red Hat has addressed the issue in RHEL 8 through RHSA-2023:7190 and RHEL 9 through RHSA-2023:6707. Ubuntu has also released fixes for multiple versions including 23.04, 22.04 LTS, and 20.04 LTS. Users are advised to update their Avahi packages to the latest available versions (Red Hat Advisory, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management