Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-20328

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-20328
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:20 UTC · Revision 1

Source evidence

CVE-2024-20328

core-osv · Original source

Published 1 Mar 2024, 21:15 UTC

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.

osv:CVE-2024-20328
Complete source record
{
  "id": "64fef3d43f92a99b014c95e406ecaa44186960c0d1994d7b3032ab5d46aac68d",
  "url": "https://osv.dev/vulnerability/CVE-2024-20328",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-20328",
    "summary": "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.",
    "evidence": "osv:CVE-2024-20328",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-20328",
      "aliases": [
        "CVE-2024-20328"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cisco-talos/clamav",
              "type": "GIT",
              "events": [
                {
                  "introduced": "09f373f82ad0978e267cc9b795aa93d7f8e8b7d2"
                },
                {
                  "fixed": "81ee14af95518106dcc6fc0c2c9f69165805df1b"
                },
                {
                  "introduced": "7d26bc8f6a801bb35ff7f2b154f33817e5863ea6"
                },
                {
                  "fixed": "ae891c90c2bbcd41e47c984dd7fca60ce744a739"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "1.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2.0"
                      },
                      {
                        "fixed": "1.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "clamav-1.2.1",
            "clamav-1.0.4",
            "clamav-1.2.0",
            "clamav-1.0.3",
            "clamav-1.0.2",
            "clamav-1.0.1",
            "clamav-1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-20328.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.295081760Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5FXZYVDNV66RNMNVJOHAJAYRZV4U64CQ/",
        "https://blog.clamav.net/2023/11/clamav-130-122-105-released.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2024-20328",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429534,
  "published_at": "2024-03-01T21:15:07.79+00:00"
}