{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2022-31003", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "dateUpdated": "2025-04-22T17:55:56.743Z", "dateReserved": "2022-05-18T00:00:00.000Z", "datePublished": "2022-05-31T00:00:00.000Z" }, "containers": { "cna": { "title": "Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP", "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2023-05-24T00:00:00.000Z" }, "descriptions": [ { "lang": "en", "value": "Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue." } ], "affected": [ { "vendor": "freeswitch", "product": "sofia-sip", "versions": [ { "version": "< 1.13.8", "status": "affected" } ] } ], "references": [ { "url": "https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp" }, { "url": "https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9" }, { "name": "[debian-lts-announce] 20220902 [SECURITY] [DLA 3091-1] sofia-sip security update", "tags": [ "mailing-list" ], "url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html" }, { "name": "GLSA-202210-18", "tags": [ "vendor-advisory" ], "url": "https://security.gentoo.org/glsa/202210-18" }, { "name": "DSA-5410", "tags": [ "vendor-advisory" ], "url": "https://www.debian.org/security/2023/dsa-5410" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-122: Heap-based Buffer Overflow", "cweId": "CWE-122" } ] }, { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-787: Out-of-bounds Write", "cweId": "CWE-787" } ] } ], "source": { "advisory": "GHSA-8w5j-6g2j-pxcp", "discovery": "UNKNOWN" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T07:03:40.261Z" }, "title": "CVE Program Container", "references": [ { "url": "https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp", "tags": [ "x_transferred" ] }, { "url": "https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9", "tags": [ "x_transferred" ] }, { "name": "[debian-lts-announce] 20220902 [SECURITY] [DLA 3091-1] sofia-sip security update", "tags": [ "mailing-list", "x_transferred" ], "url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html" }, { "name": "GLSA-202210-18", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://security.gentoo.org/glsa/202210-18" }, { "name": "DSA-5410", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://www.debian.org/security/2023/dsa-5410" } ] }, { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2025-04-22T15:41:07.596387Z", "id": "CVE-2022-31003", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-04-22T17:55:56.743Z" } } ] } }