[Debian]: CVE-2022-3204/CVE-2022-30698/CVE-2022-30699: unbound multiple CVEs

Bug #2018637 reported by Yue Tao
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Zhixiong Chi

Bug Description

CVE-2022-3204: https://nvd.nist.gov/vuln/detail/CVE-2022-3204

A vulnerability named 'Non-Responsive Delegation Attack' (NRDelegation Attack) has been discovered in various DNS resolving software. The NRDelegation Attack works by having a malicious delegation with a considerable number of non responsive nameservers. The attack starts by querying a resolver for a record that relies on those unresponsive nameservers. The attack can cause a resolver to spend a lot of time/resources resolving records under a malicious delegation point where a considerable number of unresponsive NS records reside. It can trigger high CPU usage in some resolver implementations that continually look in the cache for resolved NS records in that delegation. This can lead to degraded performance and eventually denial of service in orchestrated attacks. Unbound does not suffer from high CPU usage, but resources are still needed for resolving the malicious delegation. Unbound will keep trying to resolve the record until hard limits are reached. Based on the nature of the attack and the replies, different limits could be reached. From version 1.16.3 on, Unbound introduces fixes for better performance when under load, by cutting opportunistic queries for nameserver discovery and DNSKEY prefetching and limiting the number of times a delegation point can issue a cache lookup for missing records.

CVE-2022-30698: https://nvd.nist.gov/vuln/detail/CVE-2022-30698

NLnet Labs Unbound, up to and including version 1.16.1 is vulnerable to a novel type of the "ghost domain names" attack. The vulnerability works by targeting an Unbound instance. Unbound is queried for a subdomain of a rogue domain name. The rogue nameserver returns delegation information for the subdomain that updates Unbound's delegation cache. This action can be repeated before expiry of the delegation information by querying Unbound for a second level subdomain which the rogue nameserver provides new delegation information. Since Unbound is a child-centric resolver, the ever-updating child delegation information can keep a rogue domain name resolvable long after revocation. From version 1.16.2 on, Unbound checks the validity of parent delegation records before using cached delegation information.

CVE-2022-30699: https://nvd.nist.gov/vuln/detail/CVE-2022-30699

NLnet Labs Unbound, up to and including version 1.16.1, is vulnerable to a novel type of the "ghost domain names" attack. The vulnerability works by targeting an Unbound instance. Unbound is queried for a rogue domain name when the cached delegation information is about to expire. The rogue nameserver delays the response so that the cached delegation information is expired. Upon receiving the delayed answer containing the delegation information, Unbound overwrites the now expired entries. This action can be repeated when the delegation information is about to expire making the rogue delegation information ever-updating. From version 1.16.2 on, Unbound stores the start time for a query and uses that to decide if the cached delegation information can be overwritten.

Score:
cve_id status cvss3Score
CVE-2022-3204 fixed 7.5

CVE-2022-30698 fixed 6.5

CVE-2022-30699 fixed 6.5

References:

['libunbound8_1.13.1-1_amd64.deb===>libunbound8_1.13.1-1+deb11u1_amd64.deb']

Yue Tao (wrytao)
information type: Public → Public Security
Changed in starlingx:
importance: Undecided → High
status: New → Triaged
tags: added: stx.9.0 stx.security
Changed in starlingx:
assignee: nobody → Zhixiong Chi (zhixiongchi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/882803
Committed: https://opendev.org/starlingx/tools/commit/c18848654af82db702717586fe52dad64e6652b6
Submitter: "Zuul (22348)"
Branch: master

commit c18848654af82db702717586fe52dad64e6652b6
Author: Zhixiong Chi <email address hidden>
Date: Mon May 8 14:04:57 2023 +0800

    unbound: fix CVE-2022-3204/CVE-2022-30698/CVE-2022-30699

    Upgrade libunbound8 and libunbound8-dev to 1.13.1-1+deb11u1

    Refer to:
    https://security-tracker.debian.org/tracker/CVE-2022-3204
    https://security-tracker.debian.org/tracker/CVE-2022-30698
    https://security-tracker.debian.org/tracker/CVE-2022-30699

    TestPlan:
    PASS: downloader
    PASS: build-pkgs -a -c
    PASS: build-image
    PASS: Jenkins Installation.
    PASS: dpkg -l |grep unbound
    ii libunbound8:amd64 1.13.1-1+deb11u1

    Closes-Bug: 2018637

    Signed-off-by: Zhixiong Chi <email address hidden>
    Change-Id: I508b2a53980387cd6049bc47352bbf2a71186940

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.