5.5

CVE-2020-28935: Local symlink attack in Unbound and NSD

Modified
AliasesALPINE-CVE-2020-28935MGASA-2021-0154UBUNTU-CVE-2020-28935
Published 07-12-2020Last modified 16-09-2024

Vulnerability summary

CVE-2020-28935 is a medium (CVSS 5.5) vulnerability in debian debian_linux. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 44% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 8

Timeline

  1. 07-12-2020
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian3 products
Nlnet labs2 products
Nlnetlabs2 products
Alpine1 product
  • nsd< 4.3.4-r0
Mageia1 product
  • unbound< 1.10.1-1.1.mga7
Opensuse1 product
  • sslh&distro=openSUSE Tumbleweed< 2.2.3-1.1
Ubuntu1 product
  • unboundAll versions (No fix recorded) | < 1.6.7-1ubuntu2.4 | < 1.9.4-2ubuntu1.2

7 vendors · 11 products

References

15 links
Show all 15 references