{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.data:spring-data-jpa. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-3797 in the wild and no public exploit code.","fix":"Upgrade org.springframework.data:spring-data-jpa to a fixed version for your release line: 1.11.20, 2.0.14 or 2.1.6.","what":"CVE-2019-3797 is a low-severity vulnerability in Spring Boot, published on 6 May 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-3797 and fix it if it is affected.\n\nWhat it is: CVE-2019-3797 is a low-severity vulnerability in Spring Boot, published on 6 May 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-3797 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.data:spring-data-jpa (Maven): affected all versions; fixed in 1.11.20\n- org.springframework.data:spring-data-jpa (Maven): affected all versions; fixed in 1.11.20\n- org.springframework.data:spring-data-jpa (Maven): affected from 2.0.0; fixed in 2.0.14\n- org.springframework.data:spring-data-jpa (Maven): affected from 2.0.0; fixed in 2.0.14\n- org.springframework.data:spring-data-jpa (Maven): affected from 2.1.0; fixed in 2.1.6\n- org.springframework.data:spring-data-jpa (Maven): affected from 2.1.0; fixed in 2.1.6\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-2019-3797/ (Markdown: https://insights.sbomify.com/CVE-2019-3797/index.md)","id":"CVE-2019-3797","markdown":"https://insights.sbomify.com/CVE-2019-3797/index.md","name":"CVE-2019-3797","record":{"aliases":["GHSA-jgmr-wrwx-mgfj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Data JPA","requires_auth":"low_privilege","summary":"Attackers can retrieve excessive data via crafted query parameters in Spring Data JPA derived queries due to improper handling of LIKE wildcards.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"spring_data_java_persistence_api","vendor":"pivotal_software"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"This affects Spring Data JPA in versions up to and including 2.1.5, 2.0.13 and 1.11.19. Derived queries using any of the predicates ‘startingWith’, ‘endingWith’ or ‘containing’ could return more results than anticipated when a maliciously crafted query parameter value is supplied. Also, LIKE expressions in manually defined queries could return unexpected results if the parameter values bound did not have escaped reserved characters properly.","ecosystems":["Maven"],"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":"Additional information exposure with Spring Data JPA derived queries","id":"CVE-2019-3797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2019"},"n_packages":6,"n_references":1,"next":{"headline":"Escalation of Privileges in Cloud Controller","id":"CVE-2019-3798"},"packages":[{"ecosystem":"Maven","fixed":["1.11.20"],"introduced":["0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":null,"source":"GHSA-jgmr-wrwx-mgfj"},{"ecosystem":"Maven","fixed":["1.11.20"],"introduced":["0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","source":"GHSA-jgmr-wrwx-mgfj"},{"ecosystem":"Maven","fixed":["2.0.14"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":null,"source":"GHSA-jgmr-wrwx-mgfj"},{"ecosystem":"Maven","fixed":["2.0.14"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","source":"GHSA-jgmr-wrwx-mgfj"},{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":null,"source":"GHSA-jgmr-wrwx-mgfj"},{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","source":"GHSA-jgmr-wrwx-mgfj"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2019-3796"},"products":["Spring Boot"],"published":"2019-05-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-09-16","vendors":["Spring"]},"summary":"Attackers can retrieve excessive data via crafted query parameters in Spring Data JPA derived queries due to improper handling of LIKE wildcards.","url":"https://insights.sbomify.com/CVE-2019-3797/"}