Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting clamav package, versions <0.103.8+dfsg-0+deb11u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (39th 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-DEBIAN11-CLAMAV-3322467
  • published16 Feb 2023
  • disclosed1 Mar 2023

Introduced: 16 Feb 2023

CVE-2023-20052  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Debian:11 clamav to version 0.103.8+dfsg-0+deb11u1 or higher.

NVD Description

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

On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed:

A vulnerability in the DMG file parser of ClamAV versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier could allow an unauthenticated, remote attacker to access sensitive information on an affected device.

This vulnerability is due to enabling XML entity substitution that may result in XML external entity injection. An attacker could exploit this vulnerability by submitting a crafted DMG file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to leak bytes from any file that may be read by the ClamAV scanning process.

CVSS Scores

version 3.1