CVE Vulnerabilities

CVE-2021-21897

Integer Underflow (Wrap or Wraparound)

Published: Sep 08, 2021 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Weakness

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Affected Software

NameVendorStart VersionEnd Version
DxflibRibbonsoft3.17.0 (including)3.17.0 (including)
DxflibUbuntubionic*
DxflibUbuntufocal*
DxflibUbuntuhirsute*
DxflibUbuntuimpish*
DxflibUbuntukinetic*
DxflibUbuntulunar*
DxflibUbuntumantic*
DxflibUbuntuoracular*
DxflibUbuntuplucky*
DxflibUbuntutrusty*
DxflibUbuntuxenial*

References