Use After Free Affecting librecad package, versions <2.1.3-1.2+deb10u1build0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.27% (68th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-LIBRECAD-1925111
  • published23 Nov 2021
  • disclosed19 Nov 2021

Introduced: 19 Nov 2021

CVE-2021-21900  (opens in a new tab)
CWE-416  (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 dxfRW::processLType() functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dxf file can lead to a use-after-free vulnerability. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Scores

version 3.1