OESA-2024-2132 (CVE-2024-20505)
Vulnerability from osv_openeuler – Published: 2024-09-14 11:07 – Updated: 2026-08-06 11:07 – Source websiteClam AntiVirus (clamav) is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use with your own software. he virus database is based on the virus database from OpenAntiVirus, but contains additional signatures and is KEPT UP TO DATE.
Security Fix(es):
A vulnerability in the PDF parsing module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device.
The vulnerability is due to an out of bounds read. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. An exploit could allow the attacker to terminate the scanning process.(CVE-2024-20505)
A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files.
The vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart.(CVE-2024-20506)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"clamav-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamav-devel-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamav-milter-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamav-update-0.103.12-1.oe2203sp1.aarch64.rpm",
"clamd-0.103.12-1.oe2203sp1.aarch64.rpm"
],
"noarch": [
"clamav-data-0.103.12-1.oe2203sp1.noarch.rpm",
"clamav-filesystem-0.103.12-1.oe2203sp1.noarch.rpm",
"clamav-help-0.103.12-1.oe2203sp1.noarch.rpm"
],
"src": [
"clamav-0.103.12-1.oe2203sp1.src.rpm"
],
"x86_64": [
"clamav-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamav-devel-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamav-milter-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamav-update-0.103.12-1.oe2203sp1.x86_64.rpm",
"clamd-0.103.12-1.oe2203sp1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP1",
"name": "clamav",
"purl": "pkg:rpm/openEuler/clamav\u0026distro=openEuler-22.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.103.12-1.oe2203sp1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"clamav-0.103.12-1.oe2403.aarch64.rpm",
"clamav-debuginfo-0.103.12-1.oe2403.aarch64.rpm",
"clamav-debugsource-0.103.12-1.oe2403.aarch64.rpm",
"clamav-devel-0.103.12-1.oe2403.aarch64.rpm",
"clamav-milter-0.103.12-1.oe2403.aarch64.rpm",
"clamav-update-0.103.12-1.oe2403.aarch64.rpm",
"clamd-0.103.12-1.oe2403.aarch64.rpm"
],
"noarch": [
"clamav-data-0.103.12-1.oe2403.noarch.rpm",
"clamav-filesystem-0.103.12-1.oe2403.noarch.rpm",
"clamav-help-0.103.12-1.oe2403.noarch.rpm"
],
"src": [
"clamav-0.103.12-1.oe2403.src.rpm"
],
"x86_64": [
"clamav-0.103.12-1.oe2403.x86_64.rpm",
"clamav-debuginfo-0.103.12-1.oe2403.x86_64.rpm",
"clamav-debugsource-0.103.12-1.oe2403.x86_64.rpm",
"clamav-devel-0.103.12-1.oe2403.x86_64.rpm",
"clamav-milter-0.103.12-1.oe2403.x86_64.rpm",
"clamav-update-0.103.12-1.oe2403.x86_64.rpm",
"clamd-0.103.12-1.oe2403.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS",
"name": "clamav",
"purl": "pkg:rpm/openEuler/clamav\u0026distro=openEuler-24.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.103.12-1.oe2403"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"clamav-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamav-devel-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamav-milter-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamav-update-0.103.12-1.oe2203sp4.aarch64.rpm",
"clamd-0.103.12-1.oe2203sp4.aarch64.rpm"
],
"noarch": [
"clamav-data-0.103.12-1.oe2203sp4.noarch.rpm",
"clamav-filesystem-0.103.12-1.oe2203sp4.noarch.rpm",
"clamav-help-0.103.12-1.oe2203sp4.noarch.rpm"
],
"src": [
"clamav-0.103.12-1.oe2203sp4.src.rpm"
],
"x86_64": [
"clamav-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamav-devel-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamav-milter-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamav-update-0.103.12-1.oe2203sp4.x86_64.rpm",
"clamd-0.103.12-1.oe2203sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP4",
"name": "clamav",
"purl": "pkg:rpm/openEuler/clamav\u0026distro=openEuler-22.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.103.12-1.oe2203sp4"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"clamav-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamav-devel-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamav-milter-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamav-update-0.103.12-1.oe2203sp3.aarch64.rpm",
"clamd-0.103.12-1.oe2203sp3.aarch64.rpm"
],
"noarch": [
"clamav-data-0.103.12-1.oe2203sp3.noarch.rpm",
"clamav-filesystem-0.103.12-1.oe2203sp3.noarch.rpm",
"clamav-help-0.103.12-1.oe2203sp3.noarch.rpm"
],
"src": [
"clamav-0.103.12-1.oe2203sp3.src.rpm"
],
"x86_64": [
"clamav-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamav-debuginfo-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamav-debugsource-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamav-devel-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamav-milter-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamav-update-0.103.12-1.oe2203sp3.x86_64.rpm",
"clamd-0.103.12-1.oe2203sp3.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP3",
"name": "clamav",
"purl": "pkg:rpm/openEuler/clamav\u0026distro=openEuler-22.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.103.12-1.oe2203sp3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"clamav-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamav-debuginfo-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamav-debugsource-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamav-devel-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamav-milter-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamav-update-0.103.12-1.oe2003sp4.aarch64.rpm",
"clamd-0.103.12-1.oe2003sp4.aarch64.rpm"
],
"noarch": [
"clamav-data-0.103.12-1.oe2003sp4.noarch.rpm",
"clamav-filesystem-0.103.12-1.oe2003sp4.noarch.rpm",
"clamav-help-0.103.12-1.oe2003sp4.noarch.rpm"
],
"src": [
"clamav-0.103.12-1.oe2003sp4.src.rpm"
],
"x86_64": [
"clamav-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamav-debuginfo-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamav-debugsource-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamav-devel-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamav-milter-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamav-update-0.103.12-1.oe2003sp4.x86_64.rpm",
"clamd-0.103.12-1.oe2003sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP4",
"name": "clamav",
"purl": "pkg:rpm/openEuler/clamav\u0026distro=openEuler-20.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.103.12-1.oe2003sp4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "Clam AntiVirus (clamav) is an open source antivirus engine for detecting trojans, viruses, malware \u0026amp; other malicious threats. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use with your own software. he virus database is based on the virus database from OpenAntiVirus, but contains additional signatures and is KEPT UP TO DATE.\n\nSecurity Fix(es):\n\nA vulnerability in the PDF parsing module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device.\n\nThe vulnerability is due to an out of bounds read. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. An exploit could allow the attacker to terminate the scanning process.(CVE-2024-20505)\n\nA vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files.\n\nThe vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart.(CVE-2024-20506)",
"id": "OESA-2024-2132",
"modified": "2026-08-06T11:07:36Z",
"published": "2024-09-14T11:07:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2132"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20505"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20506"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H",
"type": "CVSS_V3"
}
],
"summary": "clamav security update",
"upstream": [
"CVE-2024-20505",
"CVE-2024-20506"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.