Medium
Remote Code Execution in MacPorts
Type: advisorySources: OSV
A malicious or compromised MacPorts mirror can execute arbitrary commands as root on the machine of a client running port selfupdate against the mirror.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-11681
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 22:58 UTC · Revision 1
Source evidence
A malicious or compromised MacPorts mirror can execute arbitrary commands as root on the machine of a client running port selfupdate against the mirror.
osv:CVE-2024-11681
Complete source record
{
"id": "64b80d3a69cbc38dc4a1527ff8c00650b731d088de6b31d8a7acc37739e43822",
"url": "https://osv.dev/vulnerability/CVE-2024-11681",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Remote Code Execution in MacPorts",
"summary": "A malicious or compromised MacPorts mirror can execute arbitrary commands as root on the machine of a client running port selfupdate against the mirror.",
"evidence": "osv:CVE-2024-11681",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-11681",
"aliases": [
"CVE-2024-11681",
"GHSA-2j38-pjh8-wfxw"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/macports/macports-base",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "685ab28afb1663984a2fba982064626865666a9a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:macports:macports:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.10.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.10.4",
"v2.10.3",
"v2.10.2",
"v2.10.1",
"v2.10.0",
"v2.10.0-rc1",
"v2.10.0-beta2",
"v2.10.0-beta1",
"v2.9.0-beta1",
"v2.8.0-beta1",
"v2.6.0-beta1",
"v2.5.0-beta1",
"v2.4.0-beta1",
"v2.0.0-beta1",
"v1.9.0-beta1",
"v1.8.0-beta1",
"v1.7.0-beta1",
"jberry-dropprivs-bp",
"v1.3-bp",
"jberry-before-preview13-merge",
"v1.2-bp",
"jberry-preview13-base",
"rshaw-archivemode-base",
"pre-wbb4-images",
"PortImages-merge",
"wbb4-versionfoobage-1-base",
"PRE_DESTROOT_TARGET",
"jkh-destrootification-base",
"ssen-platform-2-base",
"ssen-platform-1-base",
"DPORTS-BASE_0_5",
"kevin-target-api-base",
"pre-chain-remove",
"post-landon-trace",
"pre-landon-trace"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-11681.json"
}
}
],
"modified": "2026-10-28T02:30:32.069559055Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11681.json",
"https://github.com/google/security-research/security/advisories/GHSA-2j38-pjh8-wfxw",
"https://nvd.nist.gov/vuln/detail/CVE-2024-11681"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "Google",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2.10.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11681.json"
}
},
"related_cves": [
{
"value": "CVE-2024-11681",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499205,
"published_at": "2025-01-07T14:35:52.723+00:00"
}