UBUNTU-CVE-2024-20328

Source
https://ubuntu.com/security/CVE-2024-20328
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-20328.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-20328
Upstream
Related
Published
2024-02-09T00:00:00Z
Modified
2025-09-08T16:58:58Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject arbitrary commands with the privileges of the application service account.The vulnerability is due to unsafe handling of file names. A local attacker could exploit this vulnerability by supplying a file name containing command-line sequences. When processed on a system using configuration options for the VirusEvent feature, the attacker could cause the application to execute arbitrary commands. ClamAV has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.

References

Affected packages

Ubuntu:24.04:LTS / clamav

Package

Name
clamav
Purl
pkg:deb/ubuntu/clamav@1.0.5+dfsg-1ubuntu1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.5+dfsg-1ubuntu1

Affected versions

1.*

1.0.2+dfsg-1ubuntu1
1.0.3+dfsg-2ubuntu1
1.0.4+dfsg-0ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "clamav",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-base",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-daemon",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-docs",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-freshclam",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-milter",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamav-testfiles",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "clamdscan",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "libclamav-dev",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        },
        {
            "binary_name": "libclamav11",
            "binary_version": "1.0.5+dfsg-1ubuntu1"
        }
    ]
}