High
Security advisory
An issue in dc2niix before v.1.0.20240202 allows a local attacker to execute arbitrary code via the generated file name is not properly escaped and injected into a system call when certain types of compression are used.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-27629
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:34 UTC · Revision 1
Source evidence
An issue in dc2niix before v.1.0.20240202 allows a local attacker to execute arbitrary code via the generated file name is not properly escaped and injected into a system call when certain types of compression are used.
osv:CVE-2024-27629
Complete source record
{
"id": "40577d1901b80db05461bb4e21d66f5e892f1c0c027b05006de531bcf546407a",
"url": "https://osv.dev/vulnerability/CVE-2024-27629",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-27629",
"summary": "An issue in dc2niix before v.1.0.20240202 allows a local attacker to execute arbitrary code via the generated file name is not properly escaped and injected into a system call when certain types of compression are used.",
"evidence": "osv:CVE-2024-27629",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-27629",
"aliases": [
"CVE-2024-27629"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rordenlab/dcm2niix",
"type": "GIT",
"events": [
{
"introduced": "6da50196f879a34fa32038bf3e2147d6116b057d"
},
{
"fixed": "e2ead4b3c3b6d9763ca17638c10e3b407bf3f21d"
}
],
"database_specific": {
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "dc2niix"
},
{
"fixed": "v.1.0.20240202"
}
]
}
}
],
"versions": [
"v1.0.20230411",
"v1.0.20220720",
"v1.0.20211006",
"v1.0.20210317",
"v1.0.20201102",
"v1.0.20200331",
"v1.0.20190902",
"v1.0.20190720",
"v1.0.20181125",
"v1.0.20181114",
"v1.0.20180622",
"v1.0.20180614",
"v1.0.20171215",
"v1.0.20171204",
"v1.0.20171017",
"v1.0.20170923",
"v1.0.20170818",
"v1.0.20170724",
"v1.0.20170624",
"v1.0.20170623",
"v1.0.20170621",
"v1.0.20170609",
"v1.0.20170528",
"v1.0.20170429",
"v1.0.20170428",
"v1.0.20170403",
"v1.0.20170402",
"v1.0.20170401",
"v1.0.20170331",
"v1.0.20170207",
"v1.0.20170130",
"v1.0.20161101",
"v1.0.20160930",
"20160606"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27629.json"
}
}
],
"modified": "2026-10-20T10:30:26.945253949Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27629.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-27629",
"https://github.com/rordenlab/dcm2niix/pull/789"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27629.json"
}
},
"related_cves": [
{
"value": "CVE-2024-27629",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379104,
"published_at": "2024-06-28T00:00:00+00:00"
}