{"answers":{"affected":"4 open source packages ship an affected version, including io.jooby:jooby-pac4j.","exploited":"There is no known exploitation of CVE-2025-31129 in the wild and no public exploit code.","fix":"Upgrade io.jooby:jooby-pac4j to a fixed version for your release line: 2.17.0 or 3.7.0.","what":"CVE-2025-31129 is a high-severity unsafe deserialization vulnerability in jooby-project jooby, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-31129 and fix it if it is affected.\n\nWhat it is: CVE-2025-31129 is a high-severity unsafe deserialization vulnerability in jooby-project jooby, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-31129 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.jooby:jooby-pac4j (Maven): affected all versions; fixed in 2.17.0\n- io.jooby:jooby-pac4j (Maven): affected all versions; fixed in 2.17.0\n- io.jooby:jooby-pac4j (Maven): affected from 3.0.0.M1; fixed in 3.7.0\n- io.jooby:jooby-pac4j (Maven): affected from 3.0.0.M1; fixed in 3.7.0\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-2025-31129/ (Markdown: https://insights.sbomify.com/CVE-2025-31129/index.md)","id":"CVE-2025-31129","markdown":"https://insights.sbomify.com/CVE-2025-31129/index.md","name":"CVE-2025-31129","record":{"aliases":["GHSA-7c5v-895v-w4q5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can execute arbitrary code by sending malicious serialized data to the Jooby web framework's pac4j session store.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Jooby is a web framework for Java and Kotlin. The pac4j io.jooby.internal.pac4j.SessionStoreImpl#get module deserializes untrusted data. This vulnerability is fixed in 2.17.0 (2.x) and 3.7.0 (3.x).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-04-01","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-01T13:41:45Z","kind":"github_poc","ref":"https://github.com/cwm1123/CVE-2025-31129","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"jooby-pac4j: deserialization of untrusted data","id":"CVE-2025-31129","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":4,"n_references":4,"next":{"headline":"gitoxide does not detect SHA-1 collision attacks","id":"CVE-2025-31130"},"packages":[{"ecosystem":"Maven","fixed":["2.17.0"],"introduced":["0"],"last_affected":[],"package":"io.jooby:jooby-pac4j","purl":null,"source":"GHSA-7c5v-895v-w4q5"},{"ecosystem":"Maven","fixed":["2.17.0"],"introduced":["0"],"last_affected":[],"package":"io.jooby:jooby-pac4j","purl":"pkg:maven/io.jooby/jooby-pac4j","source":"GHSA-7c5v-895v-w4q5"},{"ecosystem":"Maven","fixed":["3.7.0"],"introduced":["3.0.0.M1"],"last_affected":[],"package":"io.jooby:jooby-pac4j","purl":null,"source":"GHSA-7c5v-895v-w4q5"},{"ecosystem":"Maven","fixed":["3.7.0"],"introduced":["3.0.0.M1"],"last_affected":[],"package":"io.jooby:jooby-pac4j","purl":"pkg:maven/io.jooby/jooby-pac4j","source":"GHSA-7c5v-895v-w4q5"}],"prev":{"headline":"gifplayer XSS vulnerability","id":"CVE-2025-31128"},"products":["jooby"],"published":"2025-03-31","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-01","vendors":["jooby-project"]},"summary":"Attackers can execute arbitrary code by sending malicious serialized data to the Jooby web framework's pac4j session store.","url":"https://insights.sbomify.com/CVE-2025-31129/"}