Bug 1954775 (CVE-2019-25033)

Summary: CVE-2019-25033 unbound: integer overflow in the regional allocator via the ALIGN_UP macro
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aegorenk, akhaitovich, paul.wouters, pemensik, pj.pandit
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: unbound 1.9.6 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in unbound. An integer overflow in the regional allocator via the ALIGN_UP macro may lead to a buffer overflow if the size can be controlled by an attacker. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 12:26:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1957801    
Bug Blocks: 1954811    

Description Guilherme de Almeida Suckevicz 2021-04-28 18:39:59 UTC
Unbound before 1.9.5 allows an integer overflow in the regional allocator via the ALIGN_UP macro.

Reference:
https://ostif.org/our-audit-of-unbound-dns-by-x41-d-sec-full-results/

Comment 4 Riccardo Schirone 2021-05-06 14:50:04 UTC
Statement:

There is no available reproducer or proof of concept for this issue, nor it was ever proven the buffer overflow can happen in practice. Indeed this issue was initially considered just as "side-finding", according to the original report, and for this reason its Impact is Moderate.

Comment 7 errata-xmlrpc 2024-02-08 18:03:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0749 https://access.redhat.com/errata/RHSA-2024:0749