{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-9774","id":"CVE-2024-9774","title":"Python-sql: python-sql unary operators does not escape non-expression","description":"A vulnerability was found in python-sql where unary operators do not escape non-Expression.","descriptionLong":"A vulnerability was found in python-sql where unary operators do not escape non-Expression.","published":"2024-12-27T02:00:12.451Z","updated":"2026-07-07T17:57:06.428571832Z","reserved":"2024-10-09T21:19:30.181Z","status":"Deferred","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat.com"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["python-sql"],"affectedProducts":[{"vendor":"","product":"python-sql","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"1.5.2","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"python-sql","purl":"pkg:pypi/python-sql","ranges":["<1.5.2"],"fixed":["1.5.2"],"advisory":"GHSA-pq9p-pc3p-9hm4"}],"cwes":["CWE-150"],"aliases":["GHSA-pq9p-pc3p-9hm4","PYSEC-2026-1855"],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-9774","tags":["vdb-entry","x_refsource_REDHAT","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2332734","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://discuss.tryton.org/t/security-release-for-issue-93/7889/3","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9774","tags":["advisory"]},{"url":"https://bugs.tryton.org/python-sql/93","tags":["web"]},{"url":"https://discuss.tryton.org/t/security-release-for-issue-93/7889","tags":["web"]},{"url":"https://foss.heptapod.net/tryton/python-sql/-/commit/f20551bbb8b3b4c4dd0a2c3d36f377bff6f2f349","tags":["web"]},{"url":"https://github.com/tryton/python-sql","tags":["package"]},{"url":"https://pypi.org/project/python-sql","tags":["package"]},{"url":"https://github.com/advisories/GHSA-pq9p-pc3p-9hm4","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00681,"epssPercentile":0.53171,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-9774","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9774","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-9774","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pq9p-pc3p-9hm4","ok":true,"note":"GHSA-pq9p-pc3p-9hm4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-9774","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}