Out-of-Bounds Affecting librecad package, versions <2.1.3-1.2+deb10u1build0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.65% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-LIBRECAD-1925238
  • published23 Nov 2021
  • disclosed19 Nov 2021

Introduced: 19 Nov 2021

CVE-2021-21898  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 librecad to version 2.1.3-1.2+deb10u1build0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream librecad package and not the librecad package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

A code execution vulnerability exists in the dwgCompressor::decompress18() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Scores

version 3.1