{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-51257 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-51257 is a high-severity memory corruption vulnerability in Jasper Project Jasper, published on 16 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-51257 and fix it if it is affected.\n\nWhat it is: CVE-2023-51257 is a high-severity memory corruption vulnerability in Jasper Project Jasper, published on 16 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-51257 exists.\n\nAffected product: Jasper Project Jasper. 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-2023-51257/ (Markdown: https://insights.sbomify.com/CVE-2023-51257/index.md)","id":"CVE-2023-51257","markdown":"https://insights.sbomify.com/CVE-2023-51257/index.md","name":"CVE-2023-51257","record":{"aliases":["AZL-33325","AZL-34807","CLSA-2024-1723146304","CLSA-2025-1746187690","GHSA-c74w-77jp-9c48","SUSE-SU-2024:0240-1","SUSE-SU-2024:0241-1","UBUNTU-CVE-2023-51257","openSUSE-SU-2024:13576-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Jasper image library","requires_auth":"low_privilege","summary":"A local attacker can execute arbitrary code via an invalid memory write in the Jasper image library.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jasper","vendor":"jasper_project"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"An invalid memory write issue in Jasper-Software Jasper v.4.1.1 and before allows a local attacker to execute arbitrary code.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2023-51257","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"jasper_project:jasper","products":["jasper_project:jasper"],"type":"memory_corruption","year":"2023"},"n_packages":7,"n_references":3,"next":{"headline":"Denial of service in n/a","id":"CVE-2023-51258"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.0.14-150000.3.31.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:0241-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","fixed":["2.0.14-150000.3.31.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP5","source":"SUSE-SU-2024:0241-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.900.14-195.37.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:0240-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.900.14-195.37.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:0240-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.900.14-195.37.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:0240-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.0.14-150000.3.31.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/opensuse/jasper\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0241-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.1.2-1.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/opensuse/jasper\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13576-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-51254"},"products":["n/a"],"published":"2024-01-16","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-3522","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2008-3520","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":8.8,"headline":"Integer overflow in n/a","id":"CVE-2015-8751","kev_date_added":null,"published":"2020-02-17"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2016-8886","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-9387","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-10249","kev_date_added":null,"published":"2017-03-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"A local attacker can execute arbitrary code via an invalid memory write in the Jasper image library.","url":"https://insights.sbomify.com/CVE-2023-51257/"}