{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-1151 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-1151 is a medium-severity memory corruption vulnerability in n/a, published on 9 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-1151 and fix it if it is affected.\n\nWhat it is: CVE-2012-1151 is a medium-severity memory corruption vulnerability in n/a, published on 9 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-1151 in the wild and no public exploit code.\n\nAffected product: n/a. 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/CVE-2012-1151/ (Markdown: https://insights.sbomify.com/CVE-2012-1151/index.md)","id":"CVE-2012-1151","markdown":"https://insights.sbomify.com/CVE-2012-1151/index.md","name":"CVE-2012-1151","record":{"aliases":["DEBIAN-CVE-2012-1151","DSA-2431-1","GHSA-h6fj-j4mh-7x7h","RHSA-2012:1116"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl DBD::Pg module","requires_auth":"none","summary":"Remote PostgreSQL servers can crash Perl applications using DBD::Pg via crafted warnings or statements due to format string vulnerabilities.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"perl","vendor":"perl"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"description":"Multiple format string vulnerabilities in dbdimp.c in DBD::Pg (aka DBD-Pg or libdbd-pg-perl) module before 2.19.0 for Perl allow remote PostgreSQL database servers to cause a denial of service (process crash) via format string specifiers in (1) a crafted database warning to the pg_warn function or (2) a crafted DBD statement to the dbd_st_prepare function.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2012-1151","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2012"},"n_packages":10,"n_references":15,"next":{"headline":"Denial of service in n/a","id":"CVE-2012-1152"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.49-4.el5_8"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg","purl":"pkg:rpm/redhat/perl-DBD-Pg","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:1.49-4.el5_8"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg-debuginfo","purl":"pkg:rpm/redhat/perl-DBD-Pg-debuginfo","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.49-4.el5_8"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg","purl":"pkg:rpm/redhat/perl-DBD-Pg","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:1.49-4.el5_8"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg-debuginfo","purl":"pkg:rpm/redhat/perl-DBD-Pg-debuginfo","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg","purl":"pkg:rpm/redhat/perl-DBD-Pg","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg-debuginfo","purl":"pkg:rpm/redhat/perl-DBD-Pg-debuginfo","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg","purl":"pkg:rpm/redhat/perl-DBD-Pg","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg-debuginfo","purl":"pkg:rpm/redhat/perl-DBD-Pg-debuginfo","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg","purl":"pkg:rpm/redhat/perl-DBD-Pg","source":"RHSA-2012:1116"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:2.15.1-4.el6_3"],"introduced":["0"],"last_affected":[],"package":"perl-DBD-Pg-debuginfo","purl":"pkg:rpm/redhat/perl-DBD-Pg-debuginfo","source":"RHSA-2012:1116"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2012-1150"},"products":["n/a"],"published":"2012-09-09","related":[{"cvss_score":9.8,"headline":"Supply chain in perl","id":"CVE-2026-4176","kev_date_added":null,"published":"2026-03-29"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2022-48522","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12814","kev_date_added":null,"published":"2017-09-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2015-8608","kev_date_added":null,"published":"2017-02-07"},{"cvss_score":9.1,"headline":"Integer overflow in perl:perl","id":"CVE-2026-13221","kev_date_added":null,"published":"2026-07-13"},{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2017-12883","kev_date_added":null,"published":"2017-09-19"},{"cvss_score":8.4,"headline":"Integer overflow in perl:perl","id":"CVE-2026-57432","kev_date_added":null,"published":"2026-07-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote PostgreSQL servers can crash Perl applications using DBD::Pg via crafted warnings or statements due to format string vulnerabilities.","url":"https://insights.sbomify.com/CVE-2012-1151/"}