{"answers":{"affected":"","exploited":"There is no known exploitation of ALBA-2019:1954 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"ALBA-2019:1954 is a vulnerability in python-psycopg2-doc, published on 30 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for ALBA-2019:1954 and fix it if it is affected.\n\nWhat it is: ALBA-2019:1954 is a vulnerability in python-psycopg2-doc, published on 30 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of ALBA-2019:1954 in the wild and no public exploit code.\n\nAffected product: python-psycopg2-doc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/ALBA-2019-1954/ (Markdown: https://insights.sbomify.com/ALBA-2019-1954/index.md)","id":"ALBA-2019:1954","markdown":"https://insights.sbomify.com/ALBA-2019-1954/index.md","name":"ALBA-2019:1954","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"A bug in Python's urlsplit function causes failures when processing NFKD hostnames with ports, potentially leading to application errors or denial of service.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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\nBug Fix(es):\n\n* urlsplit doesn't accept a NFKD hostname with a port number (BZ#1714757)","ecosystems":["AlmaLinux:8"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"python27:2.7 bug fix update","id":"ALBA-2019:1954","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2019"},"n_packages":24,"n_references":null,"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python-psycopg2-doc","purl":"pkg:rpm/almalinux/python-psycopg2-doc","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["0.28.1-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-Cython","purl":"pkg:rpm/almalinux/python2-Cython","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.0-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-PyMySQL","purl":"pkg:rpm/almalinux/python2-PyMySQL","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["17.4.0-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-attrs","purl":"pkg:rpm/almalinux/python2-attrs","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.4-10.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-chardet","purl":"pkg:rpm/almalinux/python2-chardet","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["4.5.1-4.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-coverage","purl":"pkg:rpm/almalinux/python2-coverage","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["0.14-12.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-docutils","purl":"pkg:rpm/almalinux/python2-docutils","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.2-13.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-funcsigs","purl":"pkg:rpm/almalinux/python2-funcsigs","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-idna","purl":"pkg:rpm/almalinux/python2-idna","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.18-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-ipaddress","purl":"pkg:rpm/almalinux/python2-ipaddress","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["0.23-19.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-markupsafe","purl":"pkg:rpm/almalinux/python2-markupsafe","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2.0.0-13.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-mock","purl":"pkg:rpm/almalinux/python2-mock","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.0-8.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pluggy","purl":"pkg:rpm/almalinux/python2-pluggy","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-psycopg2","purl":"pkg:rpm/almalinux/python2-psycopg2","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-psycopg2-debug","purl":"pkg:rpm/almalinux/python2-psycopg2-debug","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2.7.5-7.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-psycopg2-tests","purl":"pkg:rpm/almalinux/python2-psycopg2-tests","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.5.3-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-py","purl":"pkg:rpm/almalinux/python2-py","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.8-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pysocks","purl":"pkg:rpm/almalinux/python2-pysocks","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["3.4.2-13.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pytest","purl":"pkg:rpm/almalinux/python2-pytest","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.9.0-4.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pytest-mock","purl":"pkg:rpm/almalinux/python2-pytest-mock","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["2017.2-12.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pytz","purl":"pkg:rpm/almalinux/python2-pytz","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-16.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-pyyaml","purl":"pkg:rpm/almalinux/python2-pyyaml","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["3-38.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-rpm-macros","purl":"pkg:rpm/almalinux/python2-rpm-macros","source":"ALBA-2019:1954"},{"ecosystem":"AlmaLinux:8","fixed":["1.15.7-6.module_el8.6.0+2781+fed64c13"],"introduced":["0"],"last_affected":[],"package":"python2-setuptools_scm","purl":"pkg:rpm/almalinux/python2-setuptools_scm","source":"ALBA-2019:1954"}],"products":null,"published":"2019-07-30","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALBA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A bug in Python's urlsplit function causes failures when processing NFKD hostnames with ports, potentially leading to application errors or denial of service.","url":"https://insights.sbomify.com/ALBA-2019-1954/"}