OESA-2021-1226

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1226
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1226.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1226
Upstream
Published
2021-06-22T11:02:58Z
Modified
2025-08-12T05:07:41.067453Z
Summary
dhcp security update
Details

The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on UDP/IP networks whereby a DHCP server dynamically assigns an IP address and other network configuration parameters to each device on a network so they can communicate with other IP networks.

Security Fix(es):

In ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16, ISC DHCP 4.4.0 -> 4.4.2 (Other branches of ISC DHCP (i.e., releases in the 4.0.x series or lower and releases in the 4.3.x series) are beyond their End-of-Life (EOL) and no longer supported by ISC. From inspection it is clear that the defect is also present in releases from those series, but they have not been officially tested for the vulnerability), The outcome of encountering the defect while reading a lease that will trigger it varies, according to: the component being affected (i.e., dhclient or dhcpd) whether the package was built as a 32-bit or 64-bit binary whether the compiler flag -fstack-protection-strong was used when compiling In dhclient, ISC has not successfully reproduced the error on a 64-bit system. However, on a 32-bit system it is possible to cause dhclient to crash when reading an improper lease, which could cause network connectivity problems for an affected system due to the absence of a running DHCP client process. In dhcpd, when run in DHCPv4 or DHCPv6 mode: if the dhcpd server binary was built for a 32-bit architecture AND the -fstack-protection-strong flag was specified to the compiler, dhcpd may exit while parsing a lease file containing an objectionable lease, resulting in lack of service to clients. Additionally, the offending lease and the lease immediately following it in the lease database may be improperly deleted. if the dhcpd server binary was built for a 64-bit architecture OR if the -fstack-protection-strong compiler flag was NOT specified, the crash will not occur, but it is possible for the offending lease and the lease which immediately followed it to be improperly deleted.(CVE-2021-25217)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / dhcp

Package

Name
dhcp
Purl
pkg:rpm/openEuler/dhcp&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.2-5.oe1

Ecosystem specific

{
    "noarch": [
        "dhcp-help-4.4.2-5.oe1.noarch.rpm"
    ],
    "aarch64": [
        "dhcp-devel-4.4.2-5.oe1.aarch64.rpm",
        "dhcp-4.4.2-5.oe1.aarch64.rpm",
        "dhcp-debuginfo-4.4.2-5.oe1.aarch64.rpm",
        "dhcp-debugsource-4.4.2-5.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "dhcp-devel-4.4.2-5.oe1.x86_64.rpm",
        "dhcp-4.4.2-5.oe1.x86_64.rpm",
        "dhcp-debuginfo-4.4.2-5.oe1.x86_64.rpm",
        "dhcp-debugsource-4.4.2-5.oe1.x86_64.rpm"
    ],
    "src": [
        "dhcp-4.4.2-5.oe1.src.rpm"
    ]
}