CVE & CISA-KEV Catalog

CVE-2020-28935

MEDIUM
5.5
CVSS v3
NVD

Description

NLnet Labs Unbound, up to and including version 1.12.0, and NLnet Labs NSD, up to and including version 4.3.3, contain a local vulnerability that would allow for a local symlink attack. When writing the PID file, Unbound and NSD create the file if it is not there, or open an existing file for writing. In case the file was already present, they would follow symlinks if the file happened to be a symlink instead of a regular file. An additional chown of the file would then take place after it was written, making the user Unbound/NSD is supposed to run as the new owner of the file. If an attacker has local access to the user Unbound/NSD runs as, she could create a symlink in place of the PID file pointing to a file that she would like to erase. If then Unbound/NSD is killed and the PID file is not cleared, upon restarting with root privileges, Unbound/NSD will rewrite any file pointed at by the symlink. This is a local vulnerability that could create a Denial of Service of the system Unbound/NSD is running on. It requires an attacker having access to the limited permission user Unbound/NSD runs as and point through the symlink to a critical file on the system.

How to fix

Remediation Available
nsdDebian
Fixed in:4.3.4-1CVE-2020-28935
Fixed in:4.3.4-1CVE-2020-28935
Fixed in:4.3.4-1CVE-2020-28935
Fixed in:4.3.4-1CVE-2020-28935
libunbound2Ubuntu
Fixed in:1.6.7-1ubuntu2.4USN-4938-1
libunbound8Ubuntu
Fixed in:1.9.4-2ubuntu1.2USN-4938-1
unboundUbuntu
Fixed in:1.6.7-1ubuntu2.4USN-4938-1
Fixed in:1.9.4-2ubuntu1.2USN-4938-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.48%probability of exploitation in 30 days
38thpercentile

Low risk: more likely to be exploited than 38% of all known CVEs.

References

Vendor Advisory2
Other references1

Related Vulnerabilities

Other CWE-59 (Link Following) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-30333High7.599%KEV + RansomFix
CVE-2021-21300High8.089%-Fix
CVE-2021-32610High7.173%-Fix
CVE-2020-36193High7.571%KEVFix
CVE-2023-40028Medium4.958%-Fix
CVE-2020-0787High7.843%KEV + Ransom-
Embed a live status badge for CVE-2020-28935
CVE-2020-28935 severity badge

Markdown

[![CVE-2020-28935](https://tridentstack.com/cve/badge/CVE-2020-28935.svg)](https://tridentstack.com/cve/CVE-2020-28935)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-28935"><img src="https://tridentstack.com/cve/badge/CVE-2020-28935.svg" alt="CVE-2020-28935"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.