{"answers":{"affected":"6 open source packages ship an affected version, including io.ratpack:ratpack-groovy, io.ratpack:ratpack-java and io.ratpack:ratpack-session. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-11808 in the wild and no public exploit code.","fix":"Upgrade io.ratpack:ratpack-groovy to 1.6.1 or later.","what":"CVE-2019-11808 is a low-severity vulnerability in n/a, published on 7 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-11808 and fix it if it is affected.\n\nWhat it is: CVE-2019-11808 is a low-severity vulnerability in n/a, published on 7 May 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 CVE-2019-11808 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.ratpack:ratpack-groovy (Maven): affected all versions; fixed in 1.6.1\n- io.ratpack:ratpack-groovy (Maven): affected all versions; fixed in 1.6.1\n- io.ratpack:ratpack-java (Maven): affected all versions; fixed in 1.6.1\n- io.ratpack:ratpack-java (Maven): affected all versions; fixed in 1.6.1\n- io.ratpack:ratpack-session (Maven): affected all versions; fixed in 1.6.1\n- io.ratpack:ratpack-session (Maven): affected all versions; fixed in 1.6.1\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-11808/ (Markdown: https://insights.sbomify.com/CVE-2019-11808/index.md)","id":"CVE-2019-11808","markdown":"https://insights.sbomify.com/CVE-2019-11808/index.md","name":"CVE-2019-11808","record":{"aliases":["GHSA-54mg-vgrp-mwx9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Ratpack web framework","requires_auth":"none","summary":"Attackers can predict session IDs due to weak random number generation, potentially leading to account takeover.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ratpack","vendor":"ratpack_project"}],"cvss":{"score":3.7,"severity":"low","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"description":"Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom. This means that if an attacker can determine a small window for the server start time and obtain a session ID value, they can theoretically determine the sequence of session IDs.","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":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack","id":"CVE-2019-11808","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2019"},"n_packages":6,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2019-11809"},"packages":[{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-groovy","purl":null,"source":"GHSA-54mg-vgrp-mwx9"},{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-groovy","purl":"pkg:maven/io.ratpack/ratpack-groovy","source":"GHSA-54mg-vgrp-mwx9"},{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-java","purl":null,"source":"GHSA-54mg-vgrp-mwx9"},{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-java","purl":"pkg:maven/io.ratpack/ratpack-java","source":"GHSA-54mg-vgrp-mwx9"},{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-session","purl":null,"source":"GHSA-54mg-vgrp-mwx9"},{"ecosystem":"Maven","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"io.ratpack:ratpack-session","purl":"pkg:maven/io.ratpack/ratpack-session","source":"GHSA-54mg-vgrp-mwx9"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2019-11807"},"products":["n/a"],"published":"2019-05-07","related":[{"cvss_score":9.9,"headline":"Remote Code Execution Vulnerability in Session Storage","id":"CVE-2021-29485","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":7.5,"headline":"io.ratpack:ratpack-core vulnerable to Improper Neutralization of Special Elements in Output ('Injection')","id":"CVE-2019-17513","kev_date_added":null,"published":"2019-10-18"},{"cvss_score":7,"headline":"Cached redirect poisoning via X-Forwarded-Host header","id":"CVE-2021-29479","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":6.5,"headline":"Client side sessions should not allow unencrypted storage","id":"CVE-2021-29481","kev_date_added":null,"published":"2021-06-29"},{"cvss_score":4.4,"headline":"Default client side session signing key is highly predictable","id":"CVE-2021-29480","kev_date_added":null,"published":"2021-06-29"}],"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-08-04","vendors":["n/a"]},"summary":"Attackers can predict session IDs due to weak random number generation, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2019-11808/"}