Action not permitted
Modal body text goes here.
Modal Title
Modal Body
CVE-2022-31116 (GCVE-0-2022-31116)
Vulnerability from cvelistv5
- CWE-670 - Always-Incorrect Control Flow Implementation
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T07:11:39.035Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "name": "FEDORA-2022-1b2b8d5177", "tags": [ "vendor-advisory", "x_refsource_FEDORA", "x_transferred" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "name": "FEDORA-2022-33e816bc37", "tags": [ "vendor-advisory", "x_refsource_FEDORA", "x_transferred" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2022-31116", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2025-04-22T15:40:30.720341Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-04-22T17:52:13.305Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "ultrajson", "vendor": "ultrajson", "versions": [ { "status": "affected", "version": "\u003c 5.4.0" } ] } ], "descriptions": [ { "lang": "en", "value": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-670", "description": "CWE-670: Always-Incorrect Control Flow Implementation", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2022-08-03T03:08:16.000Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "name": "FEDORA-2022-1b2b8d5177", "tags": [ "vendor-advisory", "x_refsource_FEDORA" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "name": "FEDORA-2022-33e816bc37", "tags": [ "vendor-advisory", "x_refsource_FEDORA" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" } ], "source": { "advisory": "GHSA-wpqr-jcpx-745r", "discovery": "UNKNOWN" }, "title": "Incorrect handling of invalid surrogate pair characters in ujson", "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-31116", "STATE": "PUBLIC", "TITLE": "Incorrect handling of invalid surrogate pair characters in ujson" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "ultrajson", "version": { "version_data": [ { "version_value": "\u003c 5.4.0" } ] } } ] }, "vendor_name": "ultrajson" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-670: Always-Incorrect Control Flow Implementation" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "refsource": "CONFIRM", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "name": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687", "refsource": "MISC", "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "name": "FEDORA-2022-1b2b8d5177", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "name": "FEDORA-2022-33e816bc37", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" } ] }, "source": { "advisory": "GHSA-wpqr-jcpx-745r", "discovery": "UNKNOWN" } } } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2022-31116", "datePublished": "2022-07-05T17:35:11.000Z", "dateReserved": "2022-05-18T00:00:00.000Z", "dateUpdated": "2025-04-22T17:52:13.305Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-31116\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2022-07-05T18:15:08.023\",\"lastModified\":\"2024-11-21T07:03:55.690\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.\"},{\"lang\":\"es\",\"value\":\"UltraJSON es un codificador y decodificador JSON r\u00e1pido escrito en C puro con enlaces para Python versiones 3.7+.\u0026#xa0;Se encontr\u00f3 que las versiones afectadas descodificaban incorrectamente determinados caracteres.\u0026#xa0;Las cadenas JSON que contienen caracteres suplentes escapados que no forman parte de un par suplente adecuado se decodificaron incorrectamente.\u0026#xa0;Adem\u00e1s de corromper las cadenas, esto permiti\u00f3 una posible confusi\u00f3n de claves y sobrescritura de valores en los diccionarios.\u0026#xa0;Todos los usuarios que analizan JSON de fuentes que no son de confianza son vulnerables.\u0026#xa0;A partir de la versi\u00f3n 5.4.0, UltraJSON decodifica sustitutos solitarios de la misma manera que lo hace el m\u00f3dulo \\\"json\\\" de la biblioteca est\u00e1ndar, conserv\u00e1ndolos en la salida analizada.\u0026#xa0;Se recomienda a los usuarios que actualicen.\u0026#xa0;No se conocen mitigaciones adicionales para este problema\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:N/I:N/A:P\",\"baseScore\":5.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":10.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-670\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*\",\"versionEndExcluding\":\"5.4.0\",\"matchCriteriaId\":\"85A0E25D-E50B-4669-A1F2-1BAAEC9DFE16\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"80E516C0-98A4-4ADE-B69F-66A772E2BAAA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD\"}]}]}],\"references\":[{\"url\":\"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/\", \"name\": \"FEDORA-2022-1b2b8d5177\", \"tags\": [\"vendor-advisory\", \"x_refsource_FEDORA\", \"x_transferred\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/\", \"name\": \"FEDORA-2022-33e816bc37\", \"tags\": [\"vendor-advisory\", \"x_refsource_FEDORA\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T07:11:39.035Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-31116\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-04-22T15:40:30.720341Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-04-22T15:40:32.213Z\"}}], \"cna\": {\"title\": \"Incorrect handling of invalid surrogate pair characters in ujson\", \"source\": {\"advisory\": \"GHSA-wpqr-jcpx-745r\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"ultrajson\", \"product\": \"ultrajson\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 5.4.0\"}]}], \"references\": [{\"url\": \"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/\", \"name\": \"FEDORA-2022-1b2b8d5177\", \"tags\": [\"vendor-advisory\", \"x_refsource_FEDORA\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/\", \"name\": \"FEDORA-2022-33e816bc37\", \"tags\": [\"vendor-advisory\", \"x_refsource_FEDORA\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-670\", \"description\": \"CWE-670: Always-Incorrect Control Flow Implementation\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2022-08-03T03:08:16.000Z\"}, \"x_legacyV4Record\": {\"impact\": {\"cvss\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}, \"source\": {\"advisory\": \"GHSA-wpqr-jcpx-745r\", \"discovery\": \"UNKNOWN\"}, \"affects\": {\"vendor\": {\"vendor_data\": [{\"product\": {\"product_data\": [{\"version\": {\"version_data\": [{\"version_value\": \"\u003c 5.4.0\"}]}, \"product_name\": \"ultrajson\"}]}, \"vendor_name\": \"ultrajson\"}]}}, \"data_type\": \"CVE\", \"references\": {\"reference_data\": [{\"url\": \"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\", \"name\": \"https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r\", \"refsource\": \"CONFIRM\"}, {\"url\": \"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\", \"name\": \"https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687\", \"refsource\": \"MISC\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/\", \"name\": \"FEDORA-2022-1b2b8d5177\", \"refsource\": \"FEDORA\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/\", \"name\": \"FEDORA-2022-33e816bc37\", \"refsource\": \"FEDORA\"}]}, \"data_format\": \"MITRE\", \"description\": {\"description_data\": [{\"lang\": \"eng\", \"value\": \"UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.\"}]}, \"problemtype\": {\"problemtype_data\": [{\"description\": [{\"lang\": \"eng\", \"value\": \"CWE-670: Always-Incorrect Control Flow Implementation\"}]}]}, \"data_version\": \"4.0\", \"CVE_data_meta\": {\"ID\": \"CVE-2022-31116\", \"STATE\": \"PUBLIC\", \"TITLE\": \"Incorrect handling of invalid surrogate pair characters in ujson\", \"ASSIGNER\": \"security-advisories@github.com\"}}}}", "cveMetadata": "{\"cveId\": \"CVE-2022-31116\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-04-22T17:52:13.305Z\", \"dateReserved\": \"2022-05-18T00:00:00.000Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2022-07-05T17:35:11.000Z\", \"assignerShortName\": \"GitHub_M\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
rhsa-2022:8850
Vulnerability from csaf_redhat
Notes
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for python-ujson is now available for Red Hat OpenStack Platform\n16.2.4 (Train) for Red Hat Enterprise Linux (RHEL) 8.4.\n\nRed Hat Product Security has rated this update as having a security impact\nof Moderate. A Common Vulnerability Scoring System (CVSS) base score, which\ngives a detailed severity rating, is available for each vulnerability from\nthe CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "UltraJSON is an ultra fast JSON encoder and decoder\n\nSecurity Fix(es):\n\n* improper decoding of escaped surrogate characters may lead to string\ncorruption key confusion or value overwriting (CVE-2022-31116)\n\n* Potential double free of buffer during string decoding (CVE-2022-31117)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, acknowledgments, and other related information, refer to the CVE\npage listed in the References section.", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2022:8850", "url": "https://access.redhat.com/errata/RHSA-2022:8850" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#moderate", "url": "https://access.redhat.com/security/updates/classification/#moderate" }, { "category": "external", "summary": "2104739", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104739" }, { "category": "external", "summary": "2104740", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104740" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8850.json" } ], "title": "Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (python-ujson) security update", "tracking": { "current_release_date": "2024-11-22T20:15:32+00:00", "generator": { "date": "2024-11-22T20:15:32+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.2.1" } }, "id": "RHSA-2022:8850", "initial_release_date": "2022-12-07T19:19:07+00:00", "revision_history": [ { "date": "2022-12-07T19:19:07+00:00", "number": "1", "summary": "Initial version" }, { "date": "2022-12-07T19:19:07+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-22T20:15:32+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat OpenStack Platform 16.2", "product": { "name": "Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:16.2::el8" } } }, { "category": "product_name", "name": "Red Hat OpenStack Platform 16.2", "product": { "name": "Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:16.2::el8" } } } ], "category": "product_family", "name": "Red Hat OpenStack Platform" }, { "branches": [ { "category": "product_version", "name": "python-ujson-0:2.0.3-3.el8ost.src", "product": { "name": "python-ujson-0:2.0.3-3.el8ost.src", "product_id": "python-ujson-0:2.0.3-3.el8ost.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson@2.0.3-3.el8ost?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product_id": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson@2.0.3-3.el8ost?arch=x86_64" } } }, { "category": "product_version", "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product_id": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson-debugsource@2.0.3-3.el8ost?arch=x86_64" } } }, { "category": "product_version", "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product_id": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson-debuginfo@2.0.3-3.el8ost?arch=x86_64" } } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_version", "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product_id": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson@2.0.3-3.el8ost?arch=ppc64le" } } }, { "category": "product_version", "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product_id": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson-debugsource@2.0.3-3.el8ost?arch=ppc64le" } } }, { "category": "product_version", "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product_id": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson-debuginfo@2.0.3-3.el8ost?arch=ppc64le" } } } ], "category": "architecture", "name": "ppc64le" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python-ujson-0:2.0.3-3.el8ost.src as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src" }, "product_reference": "python-ujson-0:2.0.3-3.el8ost.src", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-0:2.0.3-3.el8ost.src as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src" }, "product_reference": "python-ujson-0:2.0.3-3.el8ost.src", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.2", "product_id": "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-TOOLS-16.2" } ] }, "vulnerabilities": [ { "cve": "CVE-2022-31116", "cwe": { "id": "CWE-228", "name": "Improper Handling of Syntactically Invalid Structure" }, "discovery_date": "2022-07-07T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "2104740" } ], "notes": [ { "category": "description", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "title": "Vulnerability description" }, { "category": "summary", "text": "python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting", "title": "Vulnerability summary" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2022-31116" }, { "category": "external", "summary": "RHBZ#2104740", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104740" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2022-31116", "url": "https://www.cve.org/CVERecord?id=CVE-2022-31116" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2022-31116", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31116" }, { "category": "external", "summary": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" } ], "release_date": "2022-07-02T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2022-12-07T19:19:07+00:00", "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2022:8850" } ], "scores": [ { "cvss_v3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting" }, { "cve": "CVE-2022-31117", "cwe": { "id": "CWE-415", "name": "Double Free" }, "discovery_date": "2022-07-07T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "2104739" } ], "notes": [ { "category": "description", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.", "title": "Vulnerability description" }, { "category": "summary", "text": "python-ujson: Potential double free of buffer during string decoding", "title": "Vulnerability summary" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2022-31117" }, { "category": "external", "summary": "RHBZ#2104739", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104739" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2022-31117", "url": "https://www.cve.org/CVERecord?id=CVE-2022-31117" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2022-31117", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31117" }, { "category": "external", "summary": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff" } ], "release_date": "2022-07-02T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2022-12-07T19:19:07+00:00", "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2022:8850" } ], "scores": [ { "cvss_v3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 5.9, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "8Base-RHOS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-TOOLS-16.2:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "python-ujson: Potential double free of buffer during string decoding" } ] }
rhsa-2022:8864
Vulnerability from csaf_redhat
Notes
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for python-ujson is now available for Red Hat OpenStack Platform\n16.1.9 (Train) for Red Hat Enterprise Linux (RHEL) 8.2.\n\nRed Hat Product Security has rated this update as having a security impact\nof Moderate. A Common Vulnerability Scoring System (CVSS) base score, which\ngives a detailed severity rating, is available for each vulnerability from\nthe CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "UltraJSON is an ultra fast JSON encoder and decoder\n\nSecurity Fix(es):\n\n* improper decoding of escaped surrogate characters may lead to string\ncorruption key confusion or value overwriting (CVE-2022-31116)\n\n* Potential double free of buffer during string decoding (CVE-2022-31117)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, acknowledgments, and other related information, refer to the CVE\npage listed in the References section.", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2022:8864", "url": "https://access.redhat.com/errata/RHSA-2022:8864" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#moderate", "url": "https://access.redhat.com/security/updates/classification/#moderate" }, { "category": "external", "summary": "2104739", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104739" }, { "category": "external", "summary": "2104740", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104740" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8864.json" } ], "title": "Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (python-ujson) security update", "tracking": { "current_release_date": "2024-11-22T20:15:39+00:00", "generator": { "date": "2024-11-22T20:15:39+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.2.1" } }, "id": "RHSA-2022:8864", "initial_release_date": "2022-12-07T20:28:10+00:00", "revision_history": [ { "date": "2022-12-07T20:28:10+00:00", "number": "1", "summary": "Initial version" }, { "date": "2022-12-07T20:28:10+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-22T20:15:39+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat OpenStack Platform 16.1", "product": { "name": "Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:16.1::el8" } } } ], "category": "product_family", "name": "Red Hat OpenStack Platform" }, { "branches": [ { "category": "product_version", "name": "python-ujson-0:2.0.3-3.el8ost.src", "product": { "name": "python-ujson-0:2.0.3-3.el8ost.src", "product_id": "python-ujson-0:2.0.3-3.el8ost.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson@2.0.3-3.el8ost?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product_id": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson@2.0.3-3.el8ost?arch=x86_64" } } }, { "category": "product_version", "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product_id": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson-debugsource@2.0.3-3.el8ost?arch=x86_64" } } }, { "category": "product_version", "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product_id": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson-debuginfo@2.0.3-3.el8ost?arch=x86_64" } } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_version", "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product_id": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson@2.0.3-3.el8ost?arch=ppc64le" } } }, { "category": "product_version", "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product_id": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python-ujson-debugsource@2.0.3-3.el8ost?arch=ppc64le" } } }, { "category": "product_version", "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product_id": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/python3-ujson-debuginfo@2.0.3-3.el8ost?arch=ppc64le" } } } ], "category": "architecture", "name": "ppc64le" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python-ujson-0:2.0.3-3.el8ost.src as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src" }, "product_reference": "python-ujson-0:2.0.3-3.el8ost.src", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "relates_to_product_reference": "8Base-RHOS-16.1" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64 as a component of Red Hat OpenStack Platform 16.1", "product_id": "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" }, "product_reference": "python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64", "relates_to_product_reference": "8Base-RHOS-16.1" } ] }, "vulnerabilities": [ { "cve": "CVE-2022-31116", "cwe": { "id": "CWE-228", "name": "Improper Handling of Syntactically Invalid Structure" }, "discovery_date": "2022-07-07T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "2104740" } ], "notes": [ { "category": "description", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "title": "Vulnerability description" }, { "category": "summary", "text": "python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting", "title": "Vulnerability summary" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2022-31116" }, { "category": "external", "summary": "RHBZ#2104740", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104740" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2022-31116", "url": "https://www.cve.org/CVERecord?id=CVE-2022-31116" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2022-31116", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31116" }, { "category": "external", "summary": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" } ], "release_date": "2022-07-02T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2022-12-07T20:28:10+00:00", "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2022:8864" } ], "scores": [ { "cvss_v3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting" }, { "cve": "CVE-2022-31117", "cwe": { "id": "CWE-415", "name": "Double Free" }, "discovery_date": "2022-07-07T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "2104739" } ], "notes": [ { "category": "description", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.", "title": "Vulnerability description" }, { "category": "summary", "text": "python-ujson: Potential double free of buffer during string decoding", "title": "Vulnerability summary" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2022-31117" }, { "category": "external", "summary": "RHBZ#2104739", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2104739" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2022-31117", "url": "https://www.cve.org/CVERecord?id=CVE-2022-31117" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2022-31117", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31117" }, { "category": "external", "summary": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff" } ], "release_date": "2022-07-02T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2022-12-07T20:28:10+00:00", "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2022:8864" } ], "scores": [ { "cvss_v3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 5.9, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "8Base-RHOS-16.1:python-ujson-0:2.0.3-3.el8ost.src", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python-ujson-debugsource-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-0:2.0.3-3.el8ost.x86_64", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.ppc64le", "8Base-RHOS-16.1:python3-ujson-debuginfo-0:2.0.3-3.el8ost.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "python-ujson: Potential double free of buffer during string decoding" } ] }
suse-su-2022:2673-1
Vulnerability from csaf_suse
Notes
{ "document": { "aggregate_severity": { "namespace": "https://www.suse.com/support/security/rating/", "text": "moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright 2024 SUSE LLC. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "Security update for python-ujson", "title": "Title of the patch" }, { "category": "description", "text": "This update for python-ujson fixes the following issues:\n\n- CVE-2022-31116: Fixed improper decoding of escaped surrogate characters (bsc#1201255).\n- CVE-2022-31117: Fixed a double free while reallocating a buffer for string decoding (bsc#1201254).\n", "title": "Description of the patch" }, { "category": "details", "text": "SUSE-2022-2673,SUSE-SLE-Module-Development-Tools-15-SP3-2022-2673,SUSE-SLE-Module-Development-Tools-15-SP4-2022-2673,SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2022-2673,SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2022-2673,openSUSE-SLE-15.3-2022-2673,openSUSE-SLE-15.4-2022-2673", "title": "Patchnames" }, { "category": "legal_disclaimer", "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).", "title": "Terms of use" } ], "publisher": { "category": "vendor", "contact_details": "https://www.suse.com/support/security/contact/", "name": "SUSE Product Security Team", "namespace": "https://www.suse.com/" }, "references": [ { "category": "external", "summary": "SUSE ratings", "url": "https://www.suse.com/support/security/rating/" }, { "category": "self", "summary": "URL of this CSAF notice", "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_2673-1.json" }, { "category": "self", "summary": "URL for SUSE-SU-2022:2673-1", "url": "https://www.suse.com/support/update/announcement/2022/suse-su-20222673-1/" }, { "category": "self", "summary": "E-Mail link for SUSE-SU-2022:2673-1", "url": "https://lists.suse.com/pipermail/sle-security-updates/2022-August/011803.html" }, { "category": "self", "summary": "SUSE Bug 1201254", "url": "https://bugzilla.suse.com/1201254" }, { "category": "self", "summary": "SUSE Bug 1201255", "url": "https://bugzilla.suse.com/1201255" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31116 page", "url": "https://www.suse.com/security/cve/CVE-2022-31116/" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31117 page", "url": "https://www.suse.com/security/cve/CVE-2022-31117/" } ], "title": "Security update for python-ujson", "tracking": { "current_release_date": "2022-08-04T12:07:43Z", "generator": { "date": "2022-08-04T12:07:43Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "SUSE-SU-2022:2673-1", "initial_release_date": "2022-08-04T12:07:43Z", "revision_history": [ { "date": "2022-08-04T12:07:43Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "python2-ujson-1.35-150100.3.5.1.aarch64", "product": { "name": "python2-ujson-1.35-150100.3.5.1.aarch64", "product_id": "python2-ujson-1.35-150100.3.5.1.aarch64" } }, { "category": "product_version", "name": "python3-ujson-1.35-150100.3.5.1.aarch64", "product": { "name": "python3-ujson-1.35-150100.3.5.1.aarch64", "product_id": "python3-ujson-1.35-150100.3.5.1.aarch64" } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "python2-ujson-1.35-150100.3.5.1.i586", "product": { "name": "python2-ujson-1.35-150100.3.5.1.i586", "product_id": "python2-ujson-1.35-150100.3.5.1.i586" } }, { "category": "product_version", "name": "python3-ujson-1.35-150100.3.5.1.i586", "product": { "name": "python3-ujson-1.35-150100.3.5.1.i586", "product_id": "python3-ujson-1.35-150100.3.5.1.i586" } } ], "category": "architecture", "name": "i586" }, { "branches": [ { "category": "product_version", "name": "python2-ujson-1.35-150100.3.5.1.ppc64le", "product": { "name": "python2-ujson-1.35-150100.3.5.1.ppc64le", "product_id": "python2-ujson-1.35-150100.3.5.1.ppc64le" } }, { "category": "product_version", "name": "python3-ujson-1.35-150100.3.5.1.ppc64le", "product": { "name": "python3-ujson-1.35-150100.3.5.1.ppc64le", "product_id": "python3-ujson-1.35-150100.3.5.1.ppc64le" } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "python2-ujson-1.35-150100.3.5.1.s390x", "product": { "name": "python2-ujson-1.35-150100.3.5.1.s390x", "product_id": "python2-ujson-1.35-150100.3.5.1.s390x" } }, { "category": "product_version", "name": "python3-ujson-1.35-150100.3.5.1.s390x", "product": { "name": "python3-ujson-1.35-150100.3.5.1.s390x", "product_id": "python3-ujson-1.35-150100.3.5.1.s390x" } } ], "category": "architecture", "name": "s390x" }, { "branches": [ { "category": "product_version", "name": "python2-ujson-1.35-150100.3.5.1.x86_64", "product": { "name": "python2-ujson-1.35-150100.3.5.1.x86_64", "product_id": "python2-ujson-1.35-150100.3.5.1.x86_64" } }, { "category": "product_version", "name": "python3-ujson-1.35-150100.3.5.1.x86_64", "product": { "name": "python3-ujson-1.35-150100.3.5.1.x86_64", "product_id": "python3-ujson-1.35-150100.3.5.1.x86_64" } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_name", "name": "SUSE Linux Enterprise Module for Development Tools 15 SP3", "product": { "name": "SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_identification_helper": { "cpe": "cpe:/o:suse:sle-module-development-tools:15:sp3" } } }, { "category": "product_name", "name": "SUSE Linux Enterprise Module for Development Tools 15 SP4", "product": { "name": "SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_identification_helper": { "cpe": "cpe:/o:suse:sle-module-development-tools:15:sp4" } } }, { "category": "product_name", "name": "SUSE Linux Enterprise Module for Package Hub 15 SP3", "product": { "name": "SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_identification_helper": { "cpe": "cpe:/o:suse:packagehub:15:sp3" } } }, { "category": "product_name", "name": "SUSE Linux Enterprise Module for Package Hub 15 SP4", "product": { "name": "SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_identification_helper": { "cpe": "cpe:/o:suse:packagehub:15:sp4" } } }, { "category": "product_name", "name": "openSUSE Leap 15.3", "product": { "name": "openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3", "product_identification_helper": { "cpe": "cpe:/o:opensuse:leap:15.3" } } }, { "category": "product_name", "name": "openSUSE Leap 15.4", "product": { "name": "openSUSE Leap 15.4", "product_id": "openSUSE Leap 15.4", "product_identification_helper": { "cpe": "cpe:/o:opensuse:leap:15.4" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.aarch64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.ppc64le as component of SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.s390x as component of SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.x86_64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP3", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.aarch64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.ppc64le as component of SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.s390x as component of SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.x86_64 as component of SUSE Linux Enterprise Module for Development Tools 15 SP4", "product_id": "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Development Tools 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.aarch64 as component of SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.ppc64le as component of SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.s390x as component of SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.x86_64 as component of SUSE Linux Enterprise Module for Package Hub 15 SP3", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.aarch64 as component of SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.ppc64le as component of SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.s390x as component of SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.x86_64 as component of SUSE Linux Enterprise Module for Package Hub 15 SP4", "product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP4" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.aarch64 as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.ppc64le as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.s390x as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python2-ujson-1.35-150100.3.5.1.x86_64 as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python2-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.aarch64 as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.ppc64le as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.s390x as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.x86_64 as component of openSUSE Leap 15.3", "product_id": "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "openSUSE Leap 15.3" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.aarch64 as component of openSUSE Leap 15.4", "product_id": "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.aarch64", "relates_to_product_reference": "openSUSE Leap 15.4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.ppc64le as component of openSUSE Leap 15.4", "product_id": "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.ppc64le", "relates_to_product_reference": "openSUSE Leap 15.4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.s390x as component of openSUSE Leap 15.4", "product_id": "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.s390x", "relates_to_product_reference": "openSUSE Leap 15.4" }, { "category": "default_component_of", "full_product_name": { "name": "python3-ujson-1.35-150100.3.5.1.x86_64 as component of openSUSE Leap 15.4", "product_id": "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" }, "product_reference": "python3-ujson-1.35-150100.3.5.1.x86_64", "relates_to_product_reference": "openSUSE Leap 15.4" } ] }, "vulnerabilities": [ { "cve": "CVE-2022-31116", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31116" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31116", "url": "https://www.suse.com/security/cve/CVE-2022-31116" }, { "category": "external", "summary": "SUSE Bug 1201255 for CVE-2022-31116", "url": "https://bugzilla.suse.com/1201255" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 5.8, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L", "version": "3.1" }, "products": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2022-08-04T12:07:43Z", "details": "moderate" } ], "title": "CVE-2022-31116" }, { "cve": "CVE-2022-31117", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31117" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31117", "url": "https://www.suse.com/security/cve/CVE-2022-31117" }, { "category": "external", "summary": "SUSE Bug 1201254 for CVE-2022-31117", "url": "https://bugzilla.suse.com/1201254" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 4.7, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP3:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Development Tools 15 SP4:python3-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP3:python2-ujson-1.35-150100.3.5.1.x86_64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.aarch64", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.ppc64le", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.s390x", "SUSE Linux Enterprise Module for Package Hub 15 SP4:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python2-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.3:python3-ujson-1.35-150100.3.5.1.x86_64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.aarch64", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.ppc64le", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.s390x", "openSUSE Leap 15.4:python3-ujson-1.35-150100.3.5.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2022-08-04T12:07:43Z", "details": "moderate" } ], "title": "CVE-2022-31117" } ] }
opensuse-su-2024:12183-1
Vulnerability from csaf_opensuse
Notes
{ "document": { "aggregate_severity": { "namespace": "https://www.suse.com/support/security/rating/", "text": "moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright 2024 SUSE LLC. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "python310-ujson-5.4.0-1.1 on GA media", "title": "Title of the patch" }, { "category": "description", "text": "These are all security issues fixed in the python310-ujson-5.4.0-1.1 package on the GA media of openSUSE Tumbleweed.", "title": "Description of the patch" }, { "category": "details", "text": "openSUSE-Tumbleweed-2024-12183", "title": "Patchnames" }, { "category": "legal_disclaimer", "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).", "title": "Terms of use" } ], "publisher": { "category": "vendor", "contact_details": "https://www.suse.com/support/security/contact/", "name": "SUSE Product Security Team", "namespace": "https://www.suse.com/" }, "references": [ { "category": "external", "summary": "SUSE ratings", "url": "https://www.suse.com/support/security/rating/" }, { "category": "self", "summary": "URL of this CSAF notice", "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12183-1.json" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31116 page", "url": "https://www.suse.com/security/cve/CVE-2022-31116/" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31117 page", "url": "https://www.suse.com/security/cve/CVE-2022-31117/" } ], "title": "python310-ujson-5.4.0-1.1 on GA media", "tracking": { "current_release_date": "2024-06-15T00:00:00Z", "generator": { "date": "2024-06-15T00:00:00Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "openSUSE-SU-2024:12183-1", "initial_release_date": "2024-06-15T00:00:00Z", "revision_history": [ { "date": "2024-06-15T00:00:00Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "python310-ujson-5.4.0-1.1.aarch64", "product": { "name": "python310-ujson-5.4.0-1.1.aarch64", "product_id": "python310-ujson-5.4.0-1.1.aarch64" } }, { "category": "product_version", "name": "python38-ujson-5.4.0-1.1.aarch64", "product": { "name": "python38-ujson-5.4.0-1.1.aarch64", "product_id": "python38-ujson-5.4.0-1.1.aarch64" } }, { "category": "product_version", "name": "python39-ujson-5.4.0-1.1.aarch64", "product": { "name": "python39-ujson-5.4.0-1.1.aarch64", "product_id": "python39-ujson-5.4.0-1.1.aarch64" } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "python310-ujson-5.4.0-1.1.ppc64le", "product": { "name": "python310-ujson-5.4.0-1.1.ppc64le", "product_id": "python310-ujson-5.4.0-1.1.ppc64le" } }, { "category": "product_version", "name": "python38-ujson-5.4.0-1.1.ppc64le", "product": { "name": "python38-ujson-5.4.0-1.1.ppc64le", "product_id": "python38-ujson-5.4.0-1.1.ppc64le" } }, { "category": "product_version", "name": "python39-ujson-5.4.0-1.1.ppc64le", "product": { "name": "python39-ujson-5.4.0-1.1.ppc64le", "product_id": "python39-ujson-5.4.0-1.1.ppc64le" } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "python310-ujson-5.4.0-1.1.s390x", "product": { "name": "python310-ujson-5.4.0-1.1.s390x", "product_id": "python310-ujson-5.4.0-1.1.s390x" } }, { "category": "product_version", "name": "python38-ujson-5.4.0-1.1.s390x", "product": { "name": "python38-ujson-5.4.0-1.1.s390x", "product_id": "python38-ujson-5.4.0-1.1.s390x" } }, { "category": "product_version", "name": "python39-ujson-5.4.0-1.1.s390x", "product": { "name": "python39-ujson-5.4.0-1.1.s390x", "product_id": "python39-ujson-5.4.0-1.1.s390x" } } ], "category": "architecture", "name": "s390x" }, { "branches": [ { "category": "product_version", "name": "python310-ujson-5.4.0-1.1.x86_64", "product": { "name": "python310-ujson-5.4.0-1.1.x86_64", "product_id": "python310-ujson-5.4.0-1.1.x86_64" } }, { "category": "product_version", "name": "python38-ujson-5.4.0-1.1.x86_64", "product": { "name": "python38-ujson-5.4.0-1.1.x86_64", "product_id": "python38-ujson-5.4.0-1.1.x86_64" } }, { "category": "product_version", "name": "python39-ujson-5.4.0-1.1.x86_64", "product": { "name": "python39-ujson-5.4.0-1.1.x86_64", "product_id": "python39-ujson-5.4.0-1.1.x86_64" } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_name", "name": "openSUSE Tumbleweed", "product": { "name": "openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed", "product_identification_helper": { "cpe": "cpe:/o:opensuse:tumbleweed" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python310-ujson-5.4.0-1.1.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64" }, "product_reference": "python310-ujson-5.4.0-1.1.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python310-ujson-5.4.0-1.1.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le" }, "product_reference": "python310-ujson-5.4.0-1.1.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python310-ujson-5.4.0-1.1.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x" }, "product_reference": "python310-ujson-5.4.0-1.1.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python310-ujson-5.4.0-1.1.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64" }, "product_reference": "python310-ujson-5.4.0-1.1.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python38-ujson-5.4.0-1.1.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64" }, "product_reference": "python38-ujson-5.4.0-1.1.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python38-ujson-5.4.0-1.1.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le" }, "product_reference": "python38-ujson-5.4.0-1.1.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python38-ujson-5.4.0-1.1.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x" }, "product_reference": "python38-ujson-5.4.0-1.1.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python38-ujson-5.4.0-1.1.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64" }, "product_reference": "python38-ujson-5.4.0-1.1.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python39-ujson-5.4.0-1.1.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64" }, "product_reference": "python39-ujson-5.4.0-1.1.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python39-ujson-5.4.0-1.1.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le" }, "product_reference": "python39-ujson-5.4.0-1.1.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python39-ujson-5.4.0-1.1.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x" }, "product_reference": "python39-ujson-5.4.0-1.1.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python39-ujson-5.4.0-1.1.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" }, "product_reference": "python39-ujson-5.4.0-1.1.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" } ] }, "vulnerabilities": [ { "cve": "CVE-2022-31116", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31116" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31116", "url": "https://www.suse.com/security/cve/CVE-2022-31116" }, { "category": "external", "summary": "SUSE Bug 1201255 for CVE-2022-31116", "url": "https://bugzilla.suse.com/1201255" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 5.8, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L", "version": "3.1" }, "products": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2024-06-15T00:00:00Z", "details": "moderate" } ], "title": "CVE-2022-31116" }, { "cve": "CVE-2022-31117", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31117" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31117", "url": "https://www.suse.com/security/cve/CVE-2022-31117" }, { "category": "external", "summary": "SUSE Bug 1201254 for CVE-2022-31117", "url": "https://bugzilla.suse.com/1201254" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 4.7, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python310-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python38-ujson-5.4.0-1.1.x86_64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.aarch64", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.ppc64le", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.s390x", "openSUSE Tumbleweed:python39-ujson-5.4.0-1.1.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2024-06-15T00:00:00Z", "details": "moderate" } ], "title": "CVE-2022-31117" } ] }
opensuse-su-2025:15107-1
Vulnerability from csaf_opensuse
Notes
{ "document": { "aggregate_severity": { "namespace": "https://www.suse.com/support/security/rating/", "text": "moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright 2024 SUSE LLC. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "python311-ujson-5.10.0-1.5 on GA media", "title": "Title of the patch" }, { "category": "description", "text": "These are all security issues fixed in the python311-ujson-5.10.0-1.5 package on the GA media of openSUSE Tumbleweed.", "title": "Description of the patch" }, { "category": "details", "text": "openSUSE-Tumbleweed-2025-15107", "title": "Patchnames" }, { "category": "legal_disclaimer", "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).", "title": "Terms of use" } ], "publisher": { "category": "vendor", "contact_details": "https://www.suse.com/support/security/contact/", "name": "SUSE Product Security Team", "namespace": "https://www.suse.com/" }, "references": [ { "category": "external", "summary": "SUSE ratings", "url": "https://www.suse.com/support/security/rating/" }, { "category": "self", "summary": "URL of this CSAF notice", "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15107-1.json" }, { "category": "self", "summary": "URL for openSUSE-SU-2025:15107-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KL3RUIUL44VPVSZZRZRL4FQDR4CDAGSW/" }, { "category": "self", "summary": "E-Mail link for openSUSE-SU-2025:15107-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KL3RUIUL44VPVSZZRZRL4FQDR4CDAGSW/" }, { "category": "self", "summary": "SUSE CVE CVE-2021-45958 page", "url": "https://www.suse.com/security/cve/CVE-2021-45958/" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31116 page", "url": "https://www.suse.com/security/cve/CVE-2022-31116/" }, { "category": "self", "summary": "SUSE CVE CVE-2022-31117 page", "url": "https://www.suse.com/security/cve/CVE-2022-31117/" } ], "title": "python311-ujson-5.10.0-1.5 on GA media", "tracking": { "current_release_date": "2025-05-17T00:00:00Z", "generator": { "date": "2025-05-17T00:00:00Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "openSUSE-SU-2025:15107-1", "initial_release_date": "2025-05-17T00:00:00Z", "revision_history": [ { "date": "2025-05-17T00:00:00Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "python311-ujson-5.10.0-1.5.aarch64", "product": { "name": "python311-ujson-5.10.0-1.5.aarch64", "product_id": "python311-ujson-5.10.0-1.5.aarch64" } }, { "category": "product_version", "name": "python312-ujson-5.10.0-1.5.aarch64", "product": { "name": "python312-ujson-5.10.0-1.5.aarch64", "product_id": "python312-ujson-5.10.0-1.5.aarch64" } }, { "category": "product_version", "name": "python313-ujson-5.10.0-1.5.aarch64", "product": { "name": "python313-ujson-5.10.0-1.5.aarch64", "product_id": "python313-ujson-5.10.0-1.5.aarch64" } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "python311-ujson-5.10.0-1.5.ppc64le", "product": { "name": "python311-ujson-5.10.0-1.5.ppc64le", "product_id": "python311-ujson-5.10.0-1.5.ppc64le" } }, { "category": "product_version", "name": "python312-ujson-5.10.0-1.5.ppc64le", "product": { "name": "python312-ujson-5.10.0-1.5.ppc64le", "product_id": "python312-ujson-5.10.0-1.5.ppc64le" } }, { "category": "product_version", "name": "python313-ujson-5.10.0-1.5.ppc64le", "product": { "name": "python313-ujson-5.10.0-1.5.ppc64le", "product_id": "python313-ujson-5.10.0-1.5.ppc64le" } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "python311-ujson-5.10.0-1.5.s390x", "product": { "name": "python311-ujson-5.10.0-1.5.s390x", "product_id": "python311-ujson-5.10.0-1.5.s390x" } }, { "category": "product_version", "name": "python312-ujson-5.10.0-1.5.s390x", "product": { "name": "python312-ujson-5.10.0-1.5.s390x", "product_id": "python312-ujson-5.10.0-1.5.s390x" } }, { "category": "product_version", "name": "python313-ujson-5.10.0-1.5.s390x", "product": { "name": "python313-ujson-5.10.0-1.5.s390x", "product_id": "python313-ujson-5.10.0-1.5.s390x" } } ], "category": "architecture", "name": "s390x" }, { "branches": [ { "category": "product_version", "name": "python311-ujson-5.10.0-1.5.x86_64", "product": { "name": "python311-ujson-5.10.0-1.5.x86_64", "product_id": "python311-ujson-5.10.0-1.5.x86_64" } }, { "category": "product_version", "name": "python312-ujson-5.10.0-1.5.x86_64", "product": { "name": "python312-ujson-5.10.0-1.5.x86_64", "product_id": "python312-ujson-5.10.0-1.5.x86_64" } }, { "category": "product_version", "name": "python313-ujson-5.10.0-1.5.x86_64", "product": { "name": "python313-ujson-5.10.0-1.5.x86_64", "product_id": "python313-ujson-5.10.0-1.5.x86_64" } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_name", "name": "openSUSE Tumbleweed", "product": { "name": "openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed", "product_identification_helper": { "cpe": "cpe:/o:opensuse:tumbleweed" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "python311-ujson-5.10.0-1.5.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64" }, "product_reference": "python311-ujson-5.10.0-1.5.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python311-ujson-5.10.0-1.5.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le" }, "product_reference": "python311-ujson-5.10.0-1.5.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python311-ujson-5.10.0-1.5.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x" }, "product_reference": "python311-ujson-5.10.0-1.5.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python311-ujson-5.10.0-1.5.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64" }, "product_reference": "python311-ujson-5.10.0-1.5.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python312-ujson-5.10.0-1.5.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64" }, "product_reference": "python312-ujson-5.10.0-1.5.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python312-ujson-5.10.0-1.5.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le" }, "product_reference": "python312-ujson-5.10.0-1.5.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python312-ujson-5.10.0-1.5.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x" }, "product_reference": "python312-ujson-5.10.0-1.5.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python312-ujson-5.10.0-1.5.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64" }, "product_reference": "python312-ujson-5.10.0-1.5.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python313-ujson-5.10.0-1.5.aarch64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64" }, "product_reference": "python313-ujson-5.10.0-1.5.aarch64", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python313-ujson-5.10.0-1.5.ppc64le as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le" }, "product_reference": "python313-ujson-5.10.0-1.5.ppc64le", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python313-ujson-5.10.0-1.5.s390x as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x" }, "product_reference": "python313-ujson-5.10.0-1.5.s390x", "relates_to_product_reference": "openSUSE Tumbleweed" }, { "category": "default_component_of", "full_product_name": { "name": "python313-ujson-5.10.0-1.5.x86_64 as component of openSUSE Tumbleweed", "product_id": "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" }, "product_reference": "python313-ujson-5.10.0-1.5.x86_64", "relates_to_product_reference": "openSUSE Tumbleweed" } ] }, "vulnerabilities": [ { "cve": "CVE-2021-45958", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2021-45958" } ], "notes": [ { "category": "general", "text": "UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.", "title": "CVE description" } ], "product_status": { "recommended": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2021-45958", "url": "https://www.suse.com/security/cve/CVE-2021-45958" }, { "category": "external", "summary": "SUSE Bug 1194261 for CVE-2021-45958", "url": "https://bugzilla.suse.com/1194261" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 5.5, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2025-05-17T00:00:00Z", "details": "moderate" } ], "title": "CVE-2021-45958" }, { "cve": "CVE-2022-31116", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31116" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31116", "url": "https://www.suse.com/security/cve/CVE-2022-31116" }, { "category": "external", "summary": "SUSE Bug 1201255 for CVE-2022-31116", "url": "https://bugzilla.suse.com/1201255" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 5.8, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L", "version": "3.1" }, "products": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2025-05-17T00:00:00Z", "details": "moderate" } ], "title": "CVE-2022-31116" }, { "cve": "CVE-2022-31117", "ids": [ { "system_name": "SUSE CVE Page", "text": "https://www.suse.com/security/cve/CVE-2022-31117" } ], "notes": [ { "category": "general", "text": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.", "title": "CVE description" } ], "product_status": { "recommended": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] }, "references": [ { "category": "external", "summary": "CVE-2022-31117", "url": "https://www.suse.com/security/cve/CVE-2022-31117" }, { "category": "external", "summary": "SUSE Bug 1201254 for CVE-2022-31117", "url": "https://bugzilla.suse.com/1201254" } ], "remediations": [ { "category": "vendor_fix", "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n", "product_ids": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "scores": [ { "cvss_v3": { "baseScore": 4.7, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python311-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python312-ujson-5.10.0-1.5.x86_64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.aarch64", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.ppc64le", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.s390x", "openSUSE Tumbleweed:python313-ujson-5.10.0-1.5.x86_64" ] } ], "threats": [ { "category": "impact", "date": "2025-05-17T00:00:00Z", "details": "moderate" } ], "title": "CVE-2022-31117" } ] }
gsd-2022-31116
Vulnerability from gsd
{ "GSD": { "alias": "CVE-2022-31116", "description": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "id": "GSD-2022-31116", "references": [ "https://www.suse.com/security/cve/CVE-2022-31116.html", "https://advisories.mageia.org/CVE-2022-31116.html", "https://access.redhat.com/errata/RHSA-2022:8850", "https://access.redhat.com/errata/RHSA-2022:8864" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-31116" ], "details": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "id": "GSD-2022-31116", "modified": "2023-12-13T01:19:17.603408Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-31116", "STATE": "PUBLIC", "TITLE": "Incorrect handling of invalid surrogate pair characters in ujson" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "ultrajson", "version": { "version_data": [ { "version_value": "\u003c 5.4.0" } ] } } ] }, "vendor_name": "ultrajson" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-670: Always-Incorrect Control Flow Implementation" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "refsource": "CONFIRM", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "name": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687", "refsource": "MISC", "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "name": "FEDORA-2022-1b2b8d5177", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "name": "FEDORA-2022-33e816bc37", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" } ] }, "source": { "advisory": "GHSA-wpqr-jcpx-745r", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c5.4.0", "affected_versions": "All versions before 5.4.0", "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-670", "CWE-937" ], "date": "2022-11-05", "description": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources is vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.", "fixed_versions": [ "5.4.0" ], "identifier": "CVE-2022-31116", "identifiers": [ "CVE-2022-31116", "GHSA-wpqr-jcpx-745r" ], "not_impacted": "All versions starting from 5.4.0", "package_slug": "pypi/ujson", "pubdate": "2022-07-05", "solution": "Upgrade to version 5.4.0 or above.", "title": "Always-Incorrect Control Flow Implementation", "urls": [ "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "https://nvd.nist.gov/vuln/detail/CVE-2022-31116", "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687", "https://github.com/advisories/GHSA-wpqr-jcpx-745r" ], "uuid": "c5476d51-cd49-45d3-b231-588815f99ff8" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*", "cpe_name": [], "versionEndExcluding": "5.4.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-31116" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-670" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "name": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r", "refsource": "CONFIRM", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "name": "FEDORA-2022-1b2b8d5177", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "name": "FEDORA-2022-33e816bc37", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2022-11-05T03:08Z", "publishedDate": "2022-07-05T18:15Z" } } }
wid-sec-w-2022-2265
Vulnerability from csaf_certbund
Notes
{ "document": { "aggregate_severity": { "text": "hoch" }, "category": "csaf_base", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "de-DE", "notes": [ { "category": "legal_disclaimer", "text": "Das BSI ist als Anbieter f\u00fcr die eigenen, zur Nutzung bereitgestellten Inhalte nach den allgemeinen Gesetzen verantwortlich. Nutzerinnen und Nutzer sind jedoch daf\u00fcr verantwortlich, die Verwendung und/oder die Umsetzung der mit den Inhalten bereitgestellten Informationen sorgf\u00e4ltig im Einzelfall zu pr\u00fcfen." }, { "category": "description", "text": "Red Hat OpenStack ist eine Sammlung von Diensten, um Cloud-Computing in Form von Infrastructure as a Service (IaaS) bereitstellen zu k\u00f6nnen.", "title": "Produktbeschreibung" }, { "category": "summary", "text": "Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenStack ausnutzen, um die Verf\u00fcgbarkeit, Vertraulichkeit und Integrit\u00e4t zu gef\u00e4hrden.", "title": "Angriff" }, { "category": "general", "text": "- Linux", "title": "Betroffene Betriebssysteme" } ], "publisher": { "category": "other", "contact_details": "csaf-provider@cert-bund.de", "name": "Bundesamt f\u00fcr Sicherheit in der Informationstechnik", "namespace": "https://www.bsi.bund.de" }, "references": [ { "category": "self", "summary": "WID-SEC-W-2022-2265 - CSAF Version", "url": "https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2265.json" }, { "category": "self", "summary": "WID-SEC-2022-2265 - Portal Version", "url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-2265" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8846" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8862" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8850" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8864" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8853" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8872" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8855" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8870" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8854" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8868" }, { "category": "external", "summary": "RedHat Security Advisory vom 2022-12-07", "url": "https://access.redhat.com/errata/RHSA-2022:8857" }, { "category": "external", "summary": "Red Hat Security Advisory RHSA-2023:0275 vom 2023-01-25", "url": "https://access.redhat.com/errata/RHSA-2023:0275" }, { "category": "external", "summary": "Red Hat Security Advisory RHSA-2023:0276 vom 2023-01-25", "url": "https://access.redhat.com/errata/RHSA-2023:0276" }, { "category": "external", "summary": "Ubuntu Security Notice USN-6059-1 vom 2023-05-08", "url": "https://ubuntu.com/security/notices/USN-6059-1" }, { "category": "external", "summary": "Ubuntu Security Notice USN-6067-1 vom 2023-05-10", "url": "https://ubuntu.com/security/notices/USN-6067-1" }, { "category": "external", "summary": "Red Hat Security Advisory RHSA-2023:4283 vom 2023-07-26", "url": "https://access.redhat.com/errata/RHSA-2023:4283" }, { "category": "external", "summary": "Amazon Linux Security Advisory ALASEMR-PUPPET-2023-001 vom 2023-09-27", "url": "https://alas.aws.amazon.com/AL2/ALASEMR-PUPPET-2023-001.html" }, { "category": "external", "summary": "Ubuntu Security Notice USN-6629-3 vom 2024-02-15", "url": "https://ubuntu.com/security/notices/USN-6629-3" }, { "category": "external", "summary": "openSUSE Security Update OPENSUSE-SU-2025:15107-1 vom 2025-05-18", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/KL3RUIUL44VPVSZZRZRL4FQDR4CDAGSW/" } ], "source_lang": "en-US", "title": "Red Hat OpenStack: Mehrere Schwachstellen", "tracking": { "current_release_date": "2025-05-18T22:00:00.000+00:00", "generator": { "date": "2025-05-19T08:27:34.227+00:00", "engine": { "name": "BSI-WID", "version": "1.3.12" } }, "id": "WID-SEC-W-2022-2265", "initial_release_date": "2022-12-07T23:00:00.000+00:00", "revision_history": [ { "date": "2022-12-07T23:00:00.000+00:00", "number": "1", "summary": "Initiale Fassung" }, { "date": "2023-01-25T23:00:00.000+00:00", "number": "2", "summary": "Neue Updates von Red Hat aufgenommen" }, { "date": "2023-05-07T22:00:00.000+00:00", "number": "3", "summary": "Neue Updates von Ubuntu aufgenommen" }, { "date": "2023-05-10T22:00:00.000+00:00", "number": "4", "summary": "Neue Updates von Ubuntu aufgenommen" }, { "date": "2023-07-26T22:00:00.000+00:00", "number": "5", "summary": "Neue Updates von Red Hat aufgenommen" }, { "date": "2023-07-31T22:00:00.000+00:00", "number": "6", "summary": "CVE\u0027s erg\u00e4nzt" }, { "date": "2023-09-27T22:00:00.000+00:00", "number": "7", "summary": "Neue Updates von Amazon aufgenommen" }, { "date": "2024-02-14T23:00:00.000+00:00", "number": "8", "summary": "Neue Updates von Ubuntu aufgenommen" }, { "date": "2025-05-18T22:00:00.000+00:00", "number": "9", "summary": "Neue Updates von openSUSE aufgenommen" } ], "status": "final", "version": "9" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_name", "name": "Amazon Linux 2", "product": { "name": "Amazon Linux 2", "product_id": "398363", "product_identification_helper": { "cpe": "cpe:/o:amazon:linux_2:-" } } } ], "category": "vendor", "name": "Amazon" }, { "branches": [ { "category": "product_name", "name": "Red Hat Enterprise Linux", "product": { "name": "Red Hat Enterprise Linux", "product_id": "67646", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:-" } } }, { "branches": [ { "category": "product_version_range", "name": "\u003c16.2.4", "product": { "name": "Red Hat OpenStack \u003c16.2.4", "product_id": "T025520" } }, { "category": "product_version", "name": "16.2.4", "product": { "name": "Red Hat OpenStack 16.2.4", "product_id": "T025520-fixed", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:16.2.4" } } }, { "category": "product_version_range", "name": "\u003c16.1.9", "product": { "name": "Red Hat OpenStack \u003c16.1.9", "product_id": "T025521" } }, { "category": "product_version", "name": "16.1.9", "product": { "name": "Red Hat OpenStack 16.1.9", "product_id": "T025521-fixed", "product_identification_helper": { "cpe": "cpe:/a:redhat:openstack:16.1.9" } } } ], "category": "product_name", "name": "OpenStack" } ], "category": "vendor", "name": "Red Hat" }, { "branches": [ { "category": "product_name", "name": "SUSE openSUSE", "product": { "name": "SUSE openSUSE", "product_id": "T027843", "product_identification_helper": { "cpe": "cpe:/o:suse:opensuse:-" } } } ], "category": "vendor", "name": "SUSE" }, { "branches": [ { "category": "product_name", "name": "Ubuntu Linux", "product": { "name": "Ubuntu Linux", "product_id": "T000126", "product_identification_helper": { "cpe": "cpe:/o:canonical:ubuntu_linux:-" } } } ], "category": "vendor", "name": "Ubuntu" } ] }, "vulnerabilities": [ { "cve": "CVE-2021-27025", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2021-27025" }, { "cve": "CVE-2022-22818", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-22818" }, { "cve": "CVE-2022-23833", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-23833" }, { "cve": "CVE-2022-28346", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-28346" }, { "cve": "CVE-2022-2996", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-2996" }, { "cve": "CVE-2022-31116", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-31116" }, { "cve": "CVE-2022-31117", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-31117" }, { "cve": "CVE-2022-3277", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-3277" }, { "cve": "CVE-2022-37026", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2022-37026" }, { "cve": "CVE-2023-3637", "product_status": { "known_affected": [ "67646", "T000126", "T027843", "T025521", "T025520", "398363" ] }, "release_date": "2022-12-07T23:00:00.000+00:00", "title": "CVE-2023-3637" } ] }
fkie_cve-2022-31116
Vulnerability from fkie_nvd
7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
▶ | URL | Tags | |
---|---|---|---|
security-advisories@github.com | https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 | Patch, Third Party Advisory | |
security-advisories@github.com | https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r | Exploit, Third Party Advisory | |
security-advisories@github.com | https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ | ||
security-advisories@github.com | https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ | ||
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687 | Patch, Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r | Exploit, Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ | ||
af854a3a-2127-422b-91ae-364da2661108 | https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/ |
Vendor | Product | Version | |
---|---|---|---|
ultrajson_project | ultrajson | * | |
fedoraproject | fedora | 35 | |
fedoraproject | fedora | 36 |
{ "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*", "matchCriteriaId": "85A0E25D-E50B-4669-A1F2-1BAAEC9DFE16", "versionEndExcluding": "5.4.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ] }, { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "matchCriteriaId": "80E516C0-98A4-4ADE-B69F-66A772E2BAAA", "vulnerable": true }, { "criteria": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*", "matchCriteriaId": "5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "cveTags": [], "descriptions": [ { "lang": "en", "value": "UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue." }, { "lang": "es", "value": "UltraJSON es un codificador y decodificador JSON r\u00e1pido escrito en C puro con enlaces para Python versiones 3.7+.\u0026#xa0;Se encontr\u00f3 que las versiones afectadas descodificaban incorrectamente determinados caracteres.\u0026#xa0;Las cadenas JSON que contienen caracteres suplentes escapados que no forman parte de un par suplente adecuado se decodificaron incorrectamente.\u0026#xa0;Adem\u00e1s de corromper las cadenas, esto permiti\u00f3 una posible confusi\u00f3n de claves y sobrescritura de valores en los diccionarios.\u0026#xa0;Todos los usuarios que analizan JSON de fuentes que no son de confianza son vulnerables.\u0026#xa0;A partir de la versi\u00f3n 5.4.0, UltraJSON decodifica sustitutos solitarios de la misma manera que lo hace el m\u00f3dulo \"json\" de la biblioteca est\u00e1ndar, conserv\u00e1ndolos en la salida analizada.\u0026#xa0;Se recomienda a los usuarios que actualicen.\u0026#xa0;No se conocen mitigaciones adicionales para este problema" } ], "id": "CVE-2022-31116", "lastModified": "2024-11-21T07:03:55.690", "metrics": { "cvssMetricV2": [ { "acInsufInfo": false, "baseSeverity": "MEDIUM", "cvssData": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "source": "nvd@nist.gov", "type": "Primary", "userInteractionRequired": false } ], "cvssMetricV31": [ { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6, "source": "security-advisories@github.com", "type": "Secondary" }, { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6, "source": "nvd@nist.gov", "type": "Primary" } ] }, "published": "2022-07-05T18:15:08.023", "references": [ { "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "source": "security-advisories@github.com", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "source": "security-advisories@github.com", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" }, { "source": "security-advisories@github.com", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/" } ], "sourceIdentifier": "security-advisories@github.com", "vulnStatus": "Modified", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-670" } ], "source": "security-advisories@github.com", "type": "Primary" } ] }
ghsa-wpqr-jcpx-745r
Vulnerability from github
Impact
What kind of vulnerability is it? Who is impacted?
Anyone parsing JSON from an untrusted source is vulnerable.
JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries.
Examples:
```python
An unpaired high surrogate character is ignored.
ujson.loads(r'"\uD800"') '' ujson.loads(r'"\uD800hello"') 'hello'
An unpaired low surrogate character is preserved.
ujson.loads(r'"\uDC00"') '\udc00'
A pair of surrogates with additional non surrogate characters pair up in spite of being invalid.
ujson.loads(r'"\uD800foo bar\uDC00"') 'foo bar𐀀' ```
Patches
Has the problem been patched? What versions should users upgrade to?
Users should upgrade to UltraJSON 5.4.0.
From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's json
module does, preserving them in the parsed output:
```python3
ujson.loads(r'"\uD800"') '\ud800' ujson.loads(r'"\uD800hello"') '\ud800hello' ujson.loads(r'"\uDC00"') '\udc00' ujson.loads(r'"\uD800foo bar\uDC00"') '\ud800foo bar\udc00' ```
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
Short of switching to an entirely different JSON library, there are no safe alternatives to upgrading.
For more information
If you have any questions or comments about this advisory: * Open an issue in UltraJSON
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "ujson" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.4.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-31116" ], "database_specific": { "cwe_ids": [ "CWE-670" ], "github_reviewed": true, "github_reviewed_at": "2022-07-05T21:06:00Z", "nvd_published_at": "2022-07-05T18:15:00Z", "severity": "HIGH" }, "details": "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nAnyone parsing JSON from an untrusted source is vulnerable.\n\nJSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries.\n\nExamples:\n\n```python\n# An unpaired high surrogate character is ignored.\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800\"\u0027)\n\u0027\u0027\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800hello\"\u0027)\n\u0027hello\u0027\n\n# An unpaired low surrogate character is preserved.\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uDC00\"\u0027)\n\u0027\\udc00\u0027\n\n# A pair of surrogates with additional non surrogate characters pair up in spite of being invalid.\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800foo bar\\uDC00\"\u0027)\n\u0027foo bar\ud800\udc00\u0027\n```\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nUsers should upgrade to UltraJSON 5.4.0.\n\nFrom version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library\u0027s `json` module does, preserving them in the parsed output:\n\n```python3\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800\"\u0027)\n\u0027\\ud800\u0027\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800hello\"\u0027)\n\u0027\\ud800hello\u0027\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uDC00\"\u0027)\n\u0027\\udc00\u0027\n\u003e\u003e\u003e ujson.loads(r\u0027\"\\uD800foo bar\\uDC00\"\u0027)\n\u0027\\ud800foo bar\\udc00\u0027\n```\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nShort of switching to an entirely different JSON library, there are no safe alternatives to upgrading.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [UltraJSON](http://github.com/ultrajson/ultrajson/issues)\n", "id": "GHSA-wpqr-jcpx-745r", "modified": "2022-08-05T13:56:18Z", "published": "2022-07-05T21:06:00Z", "references": [ { "type": "WEB", "url": "https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wpqr-jcpx-745r" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31116" }, { "type": "WEB", "url": "https://github.com/ultrajson/ultrajson/commit/67ec07183342589d602e0fcf7bb1ff3e19272687" }, { "type": "PACKAGE", "url": "https://github.com/ultrajson/ultrajson" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "Incorrect handling of invalid surrogate pair characters" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.