Action not permitted
Modal body text goes here.
Modal Title
Modal Body
CVE-2024-36039 (GCVE-0-2024-36039)
Vulnerability from cvelistv5 – Published: 2024-05-21 00:00 – Updated: 2024-11-21 15:27
VLAI?
EPSS
Summary
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
Severity ?
6.3 (Medium)
CWE
- n/a
Assigner
References
| URL | Tags | |
|---|---|---|
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2024-36039",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-06-12T15:05:27.823630Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-21T15:27:54.677Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T03:30:12.524Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"
},
{
"name": "[debian-lts-announce] 20240527 [SECURITY] [DLA 3822-1] python-pymysql security update",
"tags": [
"mailing-list",
"x_transferred"
],
"url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"
},
{
"name": "FEDORA-2024-e7141ab284",
"tags": [
"vendor-advisory",
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"
},
{
"name": "FEDORA-2024-b26f07d27b",
"tags": [
"vendor-advisory",
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-06-24T07:05:59.955597",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"url": "https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"
},
{
"name": "[debian-lts-announce] 20240527 [SECURITY] [DLA 3822-1] python-pymysql security update",
"tags": [
"mailing-list"
],
"url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"
},
{
"name": "FEDORA-2024-e7141ab284",
"tags": [
"vendor-advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"
},
{
"name": "FEDORA-2024-b26f07d27b",
"tags": [
"vendor-advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2024-36039",
"datePublished": "2024-05-21T00:00:00",
"dateReserved": "2024-05-18T00:00:00",
"dateUpdated": "2024-11-21T15:27:54.677Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.\"}, {\"lang\": \"es\", \"value\": \" PyMySQL hasta 1.1.0 permite la inyecci\\u00f3n de SQL si se usa con entradas JSON que no son de confianza porque escape_dict no escapa las claves.\"}]",
"id": "CVE-2024-36039",
"lastModified": "2024-11-21T16:15:24.847",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L\", \"baseScore\": 6.3, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"LOW\", \"availabilityImpact\": \"LOW\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 3.4}]}",
"published": "2024-05-21T16:15:26.293",
"references": "[{\"url\": \"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-89\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-36039\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2024-05-21T16:15:26.293\",\"lastModified\":\"2024-11-21T16:15:24.847\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.\"},{\"lang\":\"es\",\"value\":\" PyMySQL hasta 1.1.0 permite la inyecci\u00f3n de SQL si se usa con entradas JSON que no son de confianza porque escape_dict no escapa las claves.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L\",\"baseScore\":6.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":2.8,\"impactScore\":3.4}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-89\"}]}],\"references\":[{\"url\":\"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\", \"name\": \"[debian-lts-announce] 20240527 [SECURITY] [DLA 3822-1] python-pymysql security update\", \"tags\": [\"mailing-list\", \"x_transferred\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\", \"name\": \"FEDORA-2024-e7141ab284\", \"tags\": [\"vendor-advisory\", \"x_transferred\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\", \"name\": \"FEDORA-2024-b26f07d27b\", \"tags\": [\"vendor-advisory\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:30:12.524Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"LOW\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-36039\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-12T15:05:27.823630Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-89\", \"description\": \"CWE-89 Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-12T15:05:32.678Z\"}}], \"cna\": {\"affected\": [{\"vendor\": \"n/a\", \"product\": \"n/a\", \"versions\": [{\"status\": \"affected\", \"version\": \"n/a\"}]}], \"references\": [{\"url\": \"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html\", \"name\": \"[debian-lts-announce] 20240527 [SECURITY] [DLA 3822-1] python-pymysql security update\", \"tags\": [\"mailing-list\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/\", \"name\": \"FEDORA-2024-e7141ab284\", \"tags\": [\"vendor-advisory\"]}, {\"url\": \"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/\", \"name\": \"FEDORA-2024-b26f07d27b\", \"tags\": [\"vendor-advisory\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"text\", \"description\": \"n/a\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2024-06-24T07:05:59.955597\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-36039\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-21T15:27:54.677Z\", \"dateReserved\": \"2024-05-18T00:00:00\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2024-05-21T00:00:00\", \"assignerShortName\": \"mitre\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
WID-SEC-W-2024-1513
Vulnerability from csaf_certbund - Published: 2024-07-02 22:00 - Updated: 2024-11-11 23:00Summary
Red Hat Enterprise Linux (PyMySQL): Schwachstelle ermöglicht SQL Injection
Notes
Das BSI ist als Anbieter für die eigenen, zur Nutzung bereitgestellten Inhalte nach den allgemeinen Gesetzen verantwortlich. Nutzerinnen und Nutzer sind jedoch dafür verantwortlich, die Verwendung und/oder die Umsetzung der mit den Inhalten bereitgestellten Informationen sorgfältig im Einzelfall zu prüfen.
Produktbeschreibung
Red Hat Enterprise Linux (RHEL) ist eine populäre Linux-Distribution.
Angriff
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um eine SQL Injection durchzuführen.
Betroffene Betriebssysteme
- UNIX
{
"document": {
"aggregate_severity": {
"text": "mittel"
},
"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 Enterprise Linux (RHEL) ist eine popul\u00e4re Linux-Distribution.",
"title": "Produktbeschreibung"
},
{
"category": "summary",
"text": "Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um eine SQL Injection durchzuf\u00fchren.",
"title": "Angriff"
},
{
"category": "general",
"text": "- UNIX",
"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-2024-1513 - CSAF Version",
"url": "https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1513.json"
},
{
"category": "self",
"summary": "WID-SEC-2024-1513 - Portal Version",
"url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1513"
},
{
"category": "external",
"summary": "Red Hat Security Advisory vom 2024-07-02",
"url": "https://access.redhat.com/errata/RHSA-2024:4244"
},
{
"category": "external",
"summary": "Red Hat Security Advisory vom 2024-07-02",
"url": "https://access.redhat.com/errata/RHSA-2024:4245"
},
{
"category": "external",
"summary": "Oracle Linux Security Advisory ELSA-2024-4245 vom 2024-07-04",
"url": "https://linux.oracle.com/errata/ELSA-2024-4245.html"
},
{
"category": "external",
"summary": "Oracle Linux Security Advisory ELSA-2024-4244 vom 2024-07-03",
"url": "https://linux.oracle.com/errata/ELSA-2024-4244.html"
},
{
"category": "external",
"summary": "Red Hat Security Advisory RHSA-2024:9193 vom 2024-11-12",
"url": "https://access.redhat.com/errata/RHSA-2024:9193"
},
{
"category": "external",
"summary": "Red Hat Security Advisory RHSA-2024:9194 vom 2024-11-12",
"url": "https://access.redhat.com/errata/RHSA-2024:9194"
}
],
"source_lang": "en-US",
"title": "Red Hat Enterprise Linux (PyMySQL): Schwachstelle erm\u00f6glicht SQL Injection",
"tracking": {
"current_release_date": "2024-11-11T23:00:00.000+00:00",
"generator": {
"date": "2024-11-12T12:16:51.036+00:00",
"engine": {
"name": "BSI-WID",
"version": "1.3.8"
}
},
"id": "WID-SEC-W-2024-1513",
"initial_release_date": "2024-07-02T22:00:00.000+00:00",
"revision_history": [
{
"date": "2024-07-02T22:00:00.000+00:00",
"number": "1",
"summary": "Initiale Fassung"
},
{
"date": "2024-07-03T22:00:00.000+00:00",
"number": "2",
"summary": "Neue Updates von Oracle Linux aufgenommen"
},
{
"date": "2024-11-11T23:00:00.000+00:00",
"number": "3",
"summary": "Neue Updates von Red Hat aufgenommen"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Oracle Linux",
"product": {
"name": "Oracle Linux",
"product_id": "T004914",
"product_identification_helper": {
"cpe": "cpe:/o:oracle:linux:-"
}
}
}
],
"category": "vendor",
"name": "Oracle"
},
{
"branches": [
{
"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:-"
}
}
},
{
"category": "product_version_range",
"name": "pymysql \u003c1.1.1",
"product": {
"name": "Red Hat Enterprise Linux pymysql \u003c1.1.1",
"product_id": "T035779"
}
},
{
"category": "product_version",
"name": "pymysql 1.1.1",
"product": {
"name": "Red Hat Enterprise Linux pymysql 1.1.1",
"product_id": "T035779-fixed",
"product_identification_helper": {
"cpe": "cpe:/o:redhat:enterprise_linux:pymysql__1.1.1"
}
}
}
],
"category": "product_name",
"name": "Enterprise Linux"
}
],
"category": "vendor",
"name": "Red Hat"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"notes": [
{
"category": "description",
"text": "Es existiert eine Schwachstelle in Red Hat Enterprise Linux, die PyMySQL betrifft, da die Eingaben nicht ausreichend bereinigt werden. Dieser Fehler f\u00fchrt dazu, dass die Schl\u00fcssel von der escape_dict-Funktion nicht entschl\u00fcsselt werden, was die Einspeisung von b\u00f6sartigen SQL-Abfragen erm\u00f6glicht. Ein entfernter, authentisierter Angreifer kann diese Schwachstelle ausnutzen, um einen SQL-Injection Angriff durchzuf\u00fchren."
}
],
"product_status": {
"known_affected": [
"T035779",
"67646",
"T004914"
]
},
"release_date": "2024-07-02T22:00:00.000+00:00",
"title": "CVE-2024-36039"
}
]
}
SUSE-SU-2024:1925-1
Vulnerability from csaf_suse - Published: 2024-06-05 11:51 - Updated: 2024-06-05 11:51Summary
Security update for python-PyMySQL
Notes
Title of the patch
Security update for python-PyMySQL
Description of the patch
This update for python-PyMySQL fixes the following issues:
- CVE-2024-36039: Fixed SQL injection when used with untrusted JSON input (bsc#1225070).
Patchnames
SUSE-2024-1925,openSUSE-SLE-15.6-2024-1925
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "important"
},
"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-PyMySQL",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for python-PyMySQL fixes the following issues:\n\n- CVE-2024-36039: Fixed SQL injection when used with untrusted JSON input (bsc#1225070).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "SUSE-2024-1925,openSUSE-SLE-15.6-2024-1925",
"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-2024_1925-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2024:1925-1",
"url": "https://www.suse.com/support/update/announcement/2024/suse-su-20241925-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2024:1925-1",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2024-June/018656.html"
},
{
"category": "self",
"summary": "SUSE Bug 1225070",
"url": "https://bugzilla.suse.com/1225070"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2024-36039 page",
"url": "https://www.suse.com/security/cve/CVE-2024-36039/"
}
],
"title": "Security update for python-PyMySQL",
"tracking": {
"current_release_date": "2024-06-05T11:51:49Z",
"generator": {
"date": "2024-06-05T11:51:49Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2024:1925-1",
"initial_release_date": "2024-06-05T11:51:49Z",
"revision_history": [
{
"date": "2024-06-05T11:51:49Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "python311-PyMySQL-1.1.0-150600.3.3.1.noarch",
"product": {
"name": "python311-PyMySQL-1.1.0-150600.3.3.1.noarch",
"product_id": "python311-PyMySQL-1.1.0-150600.3.3.1.noarch"
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Leap 15.6",
"product": {
"name": "openSUSE Leap 15.6",
"product_id": "openSUSE Leap 15.6",
"product_identification_helper": {
"cpe": "cpe:/o:opensuse:leap:15.6"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python311-PyMySQL-1.1.0-150600.3.3.1.noarch as component of openSUSE Leap 15.6",
"product_id": "openSUSE Leap 15.6:python311-PyMySQL-1.1.0-150600.3.3.1.noarch"
},
"product_reference": "python311-PyMySQL-1.1.0-150600.3.3.1.noarch",
"relates_to_product_reference": "openSUSE Leap 15.6"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2024-36039"
}
],
"notes": [
{
"category": "general",
"text": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 15.6:python311-PyMySQL-1.1.0-150600.3.3.1.noarch"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2024-36039",
"url": "https://www.suse.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "SUSE Bug 1225070 for CVE-2024-36039",
"url": "https://bugzilla.suse.com/1225070"
}
],
"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 Leap 15.6:python311-PyMySQL-1.1.0-150600.3.3.1.noarch"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 15.6:python311-PyMySQL-1.1.0-150600.3.3.1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"date": "2024-06-05T11:51:49Z",
"details": "important"
}
],
"title": "CVE-2024-36039"
}
]
}
SUSE-SU-2024:1855-1
Vulnerability from csaf_suse - Published: 2024-05-30 12:11 - Updated: 2024-05-30 12:11Summary
Security update for python-PyMySQL
Notes
Title of the patch
Security update for python-PyMySQL
Description of the patch
This update for python-PyMySQL fixes the following issues:
- CVE-2024-36039: Fixed SQL injection if used with untrusted JSON input (bsc#1225070).
Patchnames
SUSE-2024-1855,SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-1855,SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2024-1855,openSUSE-SLE-15.5-2024-1855
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "important"
},
"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-PyMySQL",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for python-PyMySQL fixes the following issues:\n\n- CVE-2024-36039: Fixed SQL injection if used with untrusted JSON input (bsc#1225070).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "SUSE-2024-1855,SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-1855,SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2024-1855,openSUSE-SLE-15.5-2024-1855",
"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-2024_1855-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2024:1855-1",
"url": "https://www.suse.com/support/update/announcement/2024/suse-su-20241855-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2024:1855-1",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2024-August/019265.html"
},
{
"category": "self",
"summary": "SUSE Bug 1225070",
"url": "https://bugzilla.suse.com/1225070"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2024-36039 page",
"url": "https://www.suse.com/security/cve/CVE-2024-36039/"
}
],
"title": "Security update for python-PyMySQL",
"tracking": {
"current_release_date": "2024-05-30T12:11:59Z",
"generator": {
"date": "2024-05-30T12:11:59Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2024:1855-1",
"initial_release_date": "2024-05-30T12:11:59Z",
"revision_history": [
{
"date": "2024-05-30T12:11:59Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "python2-PyMySQL-0.7.11-150000.3.3.1.noarch",
"product": {
"name": "python2-PyMySQL-0.7.11-150000.3.3.1.noarch",
"product_id": "python2-PyMySQL-0.7.11-150000.3.3.1.noarch"
}
},
{
"category": "product_version",
"name": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"product": {
"name": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"product_id": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP5",
"product": {
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP5",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP5",
"product_identification_helper": {
"cpe": "cpe:/o:suse:packagehub:15:sp5"
}
}
},
{
"category": "product_name",
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP6",
"product": {
"name": "SUSE Linux Enterprise Module for Package Hub 15 SP6",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP6",
"product_identification_helper": {
"cpe": "cpe:/o:suse:packagehub:15:sp6"
}
}
},
{
"category": "product_name",
"name": "openSUSE Leap 15.5",
"product": {
"name": "openSUSE Leap 15.5",
"product_id": "openSUSE Leap 15.5",
"product_identification_helper": {
"cpe": "cpe:/o:opensuse:leap:15.5"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP5",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
},
"product_reference": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP5"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP6",
"product_id": "SUSE Linux Enterprise Module for Package Hub 15 SP6:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
},
"product_reference": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Package Hub 15 SP6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch as component of openSUSE Leap 15.5",
"product_id": "openSUSE Leap 15.5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
},
"product_reference": "python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"relates_to_product_reference": "openSUSE Leap 15.5"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2024-36039"
}
],
"notes": [
{
"category": "general",
"text": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"SUSE Linux Enterprise Module for Package Hub 15 SP5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP6:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"openSUSE Leap 15.5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2024-36039",
"url": "https://www.suse.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "SUSE Bug 1225070 for CVE-2024-36039",
"url": "https://bugzilla.suse.com/1225070"
}
],
"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 Package Hub 15 SP5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP6:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"openSUSE Leap 15.5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"SUSE Linux Enterprise Module for Package Hub 15 SP5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"SUSE Linux Enterprise Module for Package Hub 15 SP6:python3-PyMySQL-0.7.11-150000.3.3.1.noarch",
"openSUSE Leap 15.5:python3-PyMySQL-0.7.11-150000.3.3.1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"date": "2024-05-30T12:11:59Z",
"details": "important"
}
],
"title": "CVE-2024-36039"
}
]
}
RHSA-2024_4244
Vulnerability from csaf_redhat - Published: 2024-07-02 15:29 - Updated: 2024-11-13 21:11Summary
Red Hat Security Advisory: python3.11-PyMySQL security update
Notes
Topic
An update for python3.11-PyMySQL is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer the CVE page(s) listed in the References section.
Terms of Use
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.
{
"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 python3.11-PyMySQL is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer the CVE page(s) 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-2024:4244",
"url": "https://access.redhat.com/errata/RHSA-2024:4244"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_4244.json"
}
],
"title": "Red Hat Security Advisory: python3.11-PyMySQL security update",
"tracking": {
"current_release_date": "2024-11-13T21:11:38+00:00",
"generator": {
"date": "2024-11-13T21:11:38+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.0"
}
},
"id": "RHSA-2024:4244",
"initial_release_date": "2024-07-02T15:29:12+00:00",
"revision_history": [
{
"date": "2024-07-02T15:29:12+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-07-02T15:29:12+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-13T21:11:38+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el8_10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el8_10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-07-02T15:29:12+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:4244"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024:4245
Vulnerability from csaf_redhat - Published: 2024-07-02 15:24 - Updated: 2025-11-21 19:05Summary
Red Hat Security Advisory: python3 security update
Notes
Topic
An update for python3 is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
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.
{
"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 python3 is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) 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-2024:4245",
"url": "https://access.redhat.com/errata/RHSA-2024:4245"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_4245.json"
}
],
"title": "Red Hat Security Advisory: python3 security update",
"tracking": {
"current_release_date": "2025-11-21T19:05:00+00:00",
"generator": {
"date": "2025-11-21T19:05:00+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2024:4245",
"initial_release_date": "2024-07-02T15:24:34+00:00",
"revision_history": [
{
"date": "2024-07-02T15:24:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-07-02T15:24:35+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T19:05:00+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el8_10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el8_10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-07-02T15:24:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:4245"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024_4245
Vulnerability from csaf_redhat - Published: 2024-07-02 15:24 - Updated: 2024-11-13 21:11Summary
Red Hat Security Advisory: python3 security update
Notes
Topic
An update for python3 is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
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.
{
"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 python3 is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) 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-2024:4245",
"url": "https://access.redhat.com/errata/RHSA-2024:4245"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_4245.json"
}
],
"title": "Red Hat Security Advisory: python3 security update",
"tracking": {
"current_release_date": "2024-11-13T21:11:48+00:00",
"generator": {
"date": "2024-11-13T21:11:48+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.0"
}
},
"id": "RHSA-2024:4245",
"initial_release_date": "2024-07-02T15:24:34+00:00",
"revision_history": [
{
"date": "2024-07-02T15:24:34+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-07-02T15:24:35+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-13T21:11:48+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el8_10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el8_10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el8_10.src",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-07-02T15:24:34+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:4245"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.12-PyMySQL-0:1.1.0-3.el8_10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024_9194
Vulnerability from csaf_redhat - Published: 2024-11-12 09:06 - Updated: 2024-11-13 21:19Summary
Red Hat Security Advisory: python3.11-PyMySQL security update
Notes
Topic
An update for python3.11-PyMySQL is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.
Terms of Use
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.
{
"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 python3.11-PyMySQL is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from 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-2024:9194",
"url": "https://access.redhat.com/errata/RHSA-2024:9194"
},
{
"category": "external",
"summary": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9194.json"
}
],
"title": "Red Hat Security Advisory: python3.11-PyMySQL security update",
"tracking": {
"current_release_date": "2024-11-13T21:19:17+00:00",
"generator": {
"date": "2024-11-13T21:19:17+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.0"
}
},
"id": "RHSA-2024:9194",
"initial_release_date": "2024-11-12T09:06:00+00:00",
"revision_history": [
{
"date": "2024-11-12T09:06:00+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-11-12T09:06:00+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-13T21:19:17+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product": {
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product_id": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL%2Brsa@1.0.2-2.el9?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el9?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el9?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch"
},
"product_reference": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"relates_to_product_reference": "AppStream-9.5.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-11-12T09:06:00+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:9194"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024:9194
Vulnerability from csaf_redhat - Published: 2024-11-12 09:06 - Updated: 2025-11-21 19:16Summary
Red Hat Security Advisory: python3.11-PyMySQL security update
Notes
Topic
An update for python3.11-PyMySQL is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.
Terms of Use
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.
{
"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 python3.11-PyMySQL is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from 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-2024:9194",
"url": "https://access.redhat.com/errata/RHSA-2024:9194"
},
{
"category": "external",
"summary": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9194.json"
}
],
"title": "Red Hat Security Advisory: python3.11-PyMySQL security update",
"tracking": {
"current_release_date": "2025-11-21T19:16:06+00:00",
"generator": {
"date": "2025-11-21T19:16:06+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2024:9194",
"initial_release_date": "2024-11-12T09:06:00+00:00",
"revision_history": [
{
"date": "2024-11-12T09:06:00+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-11-12T09:06:00+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T19:16:06+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product": {
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product_id": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL%2Brsa@1.0.2-2.el9?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el9?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el9?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch"
},
"product_reference": "python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el9.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el9.src",
"relates_to_product_reference": "AppStream-9.5.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-11-12T09:06:00+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:9194"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-9.5.0.GA:python3.11-PyMySQL+rsa-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.noarch",
"AppStream-9.5.0.GA:python3.11-PyMySQL-0:1.0.2-2.el9.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024:9193
Vulnerability from csaf_redhat - Published: 2024-11-12 08:56 - Updated: 2025-11-21 19:16Summary
Red Hat Security Advisory: python3.12-PyMySQL security update
Notes
Topic
An update for python3.12-PyMySQL is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.
Terms of Use
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.
{
"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 python3.12-PyMySQL is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from 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-2024:9193",
"url": "https://access.redhat.com/errata/RHSA-2024:9193"
},
{
"category": "external",
"summary": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9193.json"
}
],
"title": "Red Hat Security Advisory: python3.12-PyMySQL security update",
"tracking": {
"current_release_date": "2025-11-21T19:16:06+00:00",
"generator": {
"date": "2025-11-21T19:16:06+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2024:9193",
"initial_release_date": "2024-11-12T08:56:27+00:00",
"revision_history": [
{
"date": "2024-11-12T08:56:27+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-11-12T08:56:27+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T19:16:06+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product": {
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product_id": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL%2Brsa@1.1.0-3.el9?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el9?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el9?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch"
},
"product_reference": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"relates_to_product_reference": "AppStream-9.5.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-11-12T08:56:27+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:9193"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024:4244
Vulnerability from csaf_redhat - Published: 2024-07-02 15:29 - Updated: 2025-11-21 19:04Summary
Red Hat Security Advisory: python3.11-PyMySQL security update
Notes
Topic
An update for python3.11-PyMySQL is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer the CVE page(s) listed in the References section.
Terms of Use
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.
{
"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 python3.11-PyMySQL is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer the CVE page(s) 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-2024:4244",
"url": "https://access.redhat.com/errata/RHSA-2024:4244"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_4244.json"
}
],
"title": "Red Hat Security Advisory: python3.11-PyMySQL security update",
"tracking": {
"current_release_date": "2025-11-21T19:04:59+00:00",
"generator": {
"date": "2025-11-21T19:04:59+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2024:4244",
"initial_release_date": "2024-07-02T15:29:12+00:00",
"revision_history": [
{
"date": "2024-07-02T15:29:12+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-07-02T15:29:12+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T19:04:59+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el8_10?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product_id": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.11-PyMySQL@1.0.2-2.el8_10?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
},
"product_reference": "python3.11-PyMySQL-0:1.0.2-2.el8_10.src",
"relates_to_product_reference": "AppStream-8.10.0.Z.MAIN.EUS"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-07-02T15:29:12+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:4244"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.noarch",
"AppStream-8.10.0.Z.MAIN.EUS:python3.11-PyMySQL-0:1.0.2-2.el8_10.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
RHSA-2024_9193
Vulnerability from csaf_redhat - Published: 2024-11-12 08:56 - Updated: 2024-11-13 21:19Summary
Red Hat Security Advisory: python3.12-PyMySQL security update
Notes
Topic
An update for python3.12-PyMySQL is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.
Security Fix(es):
* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.
Terms of Use
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.
{
"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 python3.12-PyMySQL is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.\n\nSecurity Fix(es):\n\n* python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from 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-2024:9193",
"url": "https://access.redhat.com/errata/RHSA-2024:9193"
},
{
"category": "external",
"summary": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index",
"url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9193.json"
}
],
"title": "Red Hat Security Advisory: python3.12-PyMySQL security update",
"tracking": {
"current_release_date": "2024-11-13T21:19:07+00:00",
"generator": {
"date": "2024-11-13T21:19:07+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.0"
}
},
"id": "RHSA-2024:9193",
"initial_release_date": "2024-11-12T08:56:27+00:00",
"revision_history": [
{
"date": "2024-11-12T08:56:27+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2024-11-12T08:56:27+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-13T21:19:07+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product": {
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product_id": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL%2Brsa@1.1.0-3.el9?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el9?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product_id": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12-PyMySQL@1.1.0-3.el9?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch"
},
"product_reference": "python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"relates_to_product_reference": "AppStream-9.5.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3.12-PyMySQL-0:1.1.0-3.el9.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
"product_id": "AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
},
"product_reference": "python3.12-PyMySQL-0:1.1.0-3.el9.src",
"relates_to_product_reference": "AppStream-9.5.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
},
"discovery_date": "2024-05-21T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2282821"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python-pymysql: SQL injection if used with untrusted JSON input",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Applications not exposed to untrusted JSON input are not vulnerable to this issue. Additionally, exploitation of this vulnerability depends on the permissions granted to the database user, limiting the security impact. For this reason, this flaw was rated with a Moderate severity.",
"title": "Statement"
},
{
"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": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "RHBZ#2282821",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282821"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2024-36039",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-36039"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
}
],
"release_date": "2024-05-21T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2024-11-12T08:56:27+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2024:9193"
},
{
"category": "workaround",
"details": "Make sure the permissions are set correctly for each user, database, table, operation, etc. Do not expose the PyMySQL library to untrusted JSON input.",
"product_ids": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"AppStream-9.5.0.GA:python3.12-PyMySQL+rsa-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.noarch",
"AppStream-9.5.0.GA:python3.12-PyMySQL-0:1.1.0-3.el9.src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python-pymysql: SQL injection if used with untrusted JSON input"
}
]
}
GHSA-V9HF-5J83-6XPP
Vulnerability from github – Published: 2024-05-21 18:31 – Updated: 2024-06-24 09:30
VLAI?
Summary
PyMySQL SQL Injection vulnerability
Details
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "pymysql"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-36039"
],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"github_reviewed": true,
"github_reviewed_at": "2024-05-21T19:23:15Z",
"nvd_published_at": "2024-05-21T16:15:26Z",
"severity": "CRITICAL"
},
"details": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by `escape_dict`.",
"id": "GHSA-v9hf-5j83-6xpp",
"modified": "2024-06-24T09:30:52Z",
"published": "2024-05-21T18:31:23Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36039"
},
{
"type": "WEB",
"url": "https://github.com/PyMySQL/PyMySQL/commit/521e40050cb386a499f68f483fefd144c493053c"
},
{
"type": "PACKAGE",
"url": "https://github.com/PyMySQL/PyMySQL"
},
{
"type": "WEB",
"url": "https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "PyMySQL SQL Injection vulnerability"
}
MSRC_CVE-2024-36039
Vulnerability from csaf_microsoft - Published: 2024-05-02 07:00 - Updated: 2025-03-14 00:00Summary
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
Notes
Additional Resources
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle
Disclaimer
The information provided in the Microsoft Knowledge Base is provided \"as is\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
{
"document": {
"category": "csaf_vex",
"csaf_version": "2.0",
"distribution": {
"text": "Public",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en-US",
"notes": [
{
"category": "general",
"text": "To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle",
"title": "Additional Resources"
},
{
"category": "legal_disclaimer",
"text": "The information provided in the Microsoft Knowledge Base is provided \\\"as is\\\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.",
"title": "Disclaimer"
}
],
"publisher": {
"category": "vendor",
"contact_details": "secure@microsoft.com",
"name": "Microsoft Security Response Center",
"namespace": "https://msrc.microsoft.com"
},
"references": [
{
"category": "self",
"summary": "CVE-2024-36039 PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict. - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-36039.json"
},
{
"category": "external",
"summary": "Microsoft Support Lifecycle",
"url": "https://support.microsoft.com/lifecycle"
},
{
"category": "external",
"summary": "Common Vulnerability Scoring System",
"url": "https://www.first.org/cvss"
}
],
"title": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.",
"tracking": {
"current_release_date": "2025-03-14T00:00:00.000Z",
"generator": {
"date": "2025-10-20T01:36:29.114Z",
"engine": {
"name": "MSRC Generator",
"version": "1.0"
}
},
"id": "msrc_CVE-2024-36039",
"initial_release_date": "2024-05-02T07:00:00.000Z",
"revision_history": [
{
"date": "2025-03-14T00:00:00.000Z",
"legacy_version": "1",
"number": "1",
"summary": "Information published."
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "3.0",
"product": {
"name": "Azure Linux 3.0",
"product_id": "17084"
}
}
],
"category": "product_name",
"name": "Azure Linux"
},
{
"branches": [
{
"category": "product_version_range",
"name": "\u003cazl3 python-PyMySQL 1.1.1-3",
"product": {
"name": "\u003cazl3 python-PyMySQL 1.1.1-3",
"product_id": "1"
}
},
{
"category": "product_version",
"name": "azl3 python-PyMySQL 1.1.1-3",
"product": {
"name": "azl3 python-PyMySQL 1.1.1-3",
"product_id": "17682"
}
}
],
"category": "product_name",
"name": "python-PyMySQL"
}
],
"category": "vendor",
"name": "Microsoft"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "\u003cazl3 python-PyMySQL 1.1.1-3 as a component of Azure Linux 3.0",
"product_id": "17084-1"
},
"product_reference": "1",
"relates_to_product_reference": "17084"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "azl3 python-PyMySQL 1.1.1-3 as a component of Azure Linux 3.0",
"product_id": "17682-17084"
},
"product_reference": "17682",
"relates_to_product_reference": "17084"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"cwe": {
"id": "CWE-89",
"name": "Improper Neutralization of Special Elements used in an SQL Command (\u0026#39;SQL Injection\u0026#39;)"
},
"notes": [
{
"category": "general",
"text": "mitre",
"title": "Assigning CNA"
}
],
"product_status": {
"fixed": [
"17682-17084"
],
"known_affected": [
"17084-1"
]
},
"references": [
{
"category": "self",
"summary": "CVE-2024-36039 PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict. - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-36039.json"
}
],
"remediations": [
{
"category": "vendor_fix",
"date": "2025-03-14T00:00:00.000Z",
"details": "1.1.1-3:Security Update:https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade",
"product_ids": [
"17084-1"
],
"url": "https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"environmentalsScore": 0.0,
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"temporalScore": 6.3,
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"17084-1"
]
}
],
"title": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict."
}
]
}
OPENSUSE-SU-2024:13993-1
Vulnerability from csaf_opensuse - Published: 2024-06-15 00:00 - Updated: 2024-06-15 00:00Summary
python310-PyMySQL-1.1.1-1.1 on GA media
Notes
Title of the patch
python310-PyMySQL-1.1.1-1.1 on GA media
Description of the patch
These are all security issues fixed in the python310-PyMySQL-1.1.1-1.1 package on the GA media of openSUSE Tumbleweed.
Patchnames
openSUSE-Tumbleweed-2024-13993
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{
"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-PyMySQL-1.1.1-1.1 on GA media",
"title": "Title of the patch"
},
{
"category": "description",
"text": "These are all security issues fixed in the python310-PyMySQL-1.1.1-1.1 package on the GA media of openSUSE Tumbleweed.",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Tumbleweed-2024-13993",
"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_13993-1.json"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2024-36039 page",
"url": "https://www.suse.com/security/cve/CVE-2024-36039/"
}
],
"title": "python310-PyMySQL-1.1.1-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:13993-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-PyMySQL-1.1.1-1.1.aarch64",
"product": {
"name": "python310-PyMySQL-1.1.1-1.1.aarch64",
"product_id": "python310-PyMySQL-1.1.1-1.1.aarch64"
}
},
{
"category": "product_version",
"name": "python311-PyMySQL-1.1.1-1.1.aarch64",
"product": {
"name": "python311-PyMySQL-1.1.1-1.1.aarch64",
"product_id": "python311-PyMySQL-1.1.1-1.1.aarch64"
}
},
{
"category": "product_version",
"name": "python312-PyMySQL-1.1.1-1.1.aarch64",
"product": {
"name": "python312-PyMySQL-1.1.1-1.1.aarch64",
"product_id": "python312-PyMySQL-1.1.1-1.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "python310-PyMySQL-1.1.1-1.1.ppc64le",
"product": {
"name": "python310-PyMySQL-1.1.1-1.1.ppc64le",
"product_id": "python310-PyMySQL-1.1.1-1.1.ppc64le"
}
},
{
"category": "product_version",
"name": "python311-PyMySQL-1.1.1-1.1.ppc64le",
"product": {
"name": "python311-PyMySQL-1.1.1-1.1.ppc64le",
"product_id": "python311-PyMySQL-1.1.1-1.1.ppc64le"
}
},
{
"category": "product_version",
"name": "python312-PyMySQL-1.1.1-1.1.ppc64le",
"product": {
"name": "python312-PyMySQL-1.1.1-1.1.ppc64le",
"product_id": "python312-PyMySQL-1.1.1-1.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "python310-PyMySQL-1.1.1-1.1.s390x",
"product": {
"name": "python310-PyMySQL-1.1.1-1.1.s390x",
"product_id": "python310-PyMySQL-1.1.1-1.1.s390x"
}
},
{
"category": "product_version",
"name": "python311-PyMySQL-1.1.1-1.1.s390x",
"product": {
"name": "python311-PyMySQL-1.1.1-1.1.s390x",
"product_id": "python311-PyMySQL-1.1.1-1.1.s390x"
}
},
{
"category": "product_version",
"name": "python312-PyMySQL-1.1.1-1.1.s390x",
"product": {
"name": "python312-PyMySQL-1.1.1-1.1.s390x",
"product_id": "python312-PyMySQL-1.1.1-1.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "python310-PyMySQL-1.1.1-1.1.x86_64",
"product": {
"name": "python310-PyMySQL-1.1.1-1.1.x86_64",
"product_id": "python310-PyMySQL-1.1.1-1.1.x86_64"
}
},
{
"category": "product_version",
"name": "python311-PyMySQL-1.1.1-1.1.x86_64",
"product": {
"name": "python311-PyMySQL-1.1.1-1.1.x86_64",
"product_id": "python311-PyMySQL-1.1.1-1.1.x86_64"
}
},
{
"category": "product_version",
"name": "python312-PyMySQL-1.1.1-1.1.x86_64",
"product": {
"name": "python312-PyMySQL-1.1.1-1.1.x86_64",
"product_id": "python312-PyMySQL-1.1.1-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-PyMySQL-1.1.1-1.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.aarch64"
},
"product_reference": "python310-PyMySQL-1.1.1-1.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python310-PyMySQL-1.1.1-1.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.ppc64le"
},
"product_reference": "python310-PyMySQL-1.1.1-1.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python310-PyMySQL-1.1.1-1.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.s390x"
},
"product_reference": "python310-PyMySQL-1.1.1-1.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python310-PyMySQL-1.1.1-1.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.x86_64"
},
"product_reference": "python310-PyMySQL-1.1.1-1.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python311-PyMySQL-1.1.1-1.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.aarch64"
},
"product_reference": "python311-PyMySQL-1.1.1-1.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python311-PyMySQL-1.1.1-1.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.ppc64le"
},
"product_reference": "python311-PyMySQL-1.1.1-1.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python311-PyMySQL-1.1.1-1.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.s390x"
},
"product_reference": "python311-PyMySQL-1.1.1-1.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python311-PyMySQL-1.1.1-1.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.x86_64"
},
"product_reference": "python311-PyMySQL-1.1.1-1.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python312-PyMySQL-1.1.1-1.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.aarch64"
},
"product_reference": "python312-PyMySQL-1.1.1-1.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python312-PyMySQL-1.1.1-1.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.ppc64le"
},
"product_reference": "python312-PyMySQL-1.1.1-1.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python312-PyMySQL-1.1.1-1.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.s390x"
},
"product_reference": "python312-PyMySQL-1.1.1-1.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python312-PyMySQL-1.1.1-1.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.x86_64"
},
"product_reference": "python312-PyMySQL-1.1.1-1.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-36039",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2024-36039"
}
],
"notes": [
{
"category": "general",
"text": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2024-36039",
"url": "https://www.suse.com/security/cve/CVE-2024-36039"
},
{
"category": "external",
"summary": "SUSE Bug 1225070 for CVE-2024-36039",
"url": "https://bugzilla.suse.com/1225070"
}
],
"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-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python310-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python311-PyMySQL-1.1.1-1.1.x86_64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.aarch64",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.ppc64le",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.s390x",
"openSUSE Tumbleweed:python312-PyMySQL-1.1.1-1.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2024-06-15T00:00:00Z",
"details": "important"
}
],
"title": "CVE-2024-36039"
}
]
}
FKIE_CVE-2024-36039
Vulnerability from fkie_nvd - Published: 2024-05-21 16:15 - Updated: 2024-11-21 16:15
Severity ?
Summary
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict."
},
{
"lang": "es",
"value": " PyMySQL hasta 1.1.0 permite la inyecci\u00f3n de SQL si se usa con entradas JSON que no son de confianza porque escape_dict no escapa las claves."
}
],
"id": "CVE-2024-36039",
"lastModified": "2024-11-21T16:15:24.847",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 3.4,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
},
"published": "2024-05-21T16:15:26.293",
"references": [
{
"source": "cve@mitre.org",
"url": "https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"
},
{
"source": "cve@mitre.org",
"url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"
},
{
"source": "cve@mitre.org",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"
},
{
"source": "cve@mitre.org",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-89"
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…