{"answers":{"affected":"3 open source packages ship an affected version, including jwcrypto. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-6298 in the wild and no public exploit code.","fix":"Upgrade jwcrypto to a fixed version for your release line: 0.3.2 or 0.4.0.","what":"CVE-2016-6298 is a medium-severity vulnerability in n/a, published on 1 Sep 2016."},"fix_prompt":"Check this codebase for CVE-2016-6298 and fix it if it is affected.\n\nWhat it is: CVE-2016-6298 is a medium-severity vulnerability in n/a, published on 1 Sep 2016. \nExploitation: There is no known exploitation of CVE-2016-6298 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jwcrypto (PyPI): affected all versions; fixed in 0.3.2\n- jwcrypto (PyPI): affected all versions; fixed in 0.3.2\n- jwcrypto (PyPI): affected all versions; fixed in 0.4.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-2016-6298/ (Markdown: https://insights.sbomify.com/CVE-2016-6298/index.md)","id":"CVE-2016-6298","markdown":"https://insights.sbomify.com/CVE-2016-6298/index.md","name":"CVE-2016-6298","record":{"aliases":["DEBIAN-CVE-2016-6298","GHSA-wg33-x934-3ghh","PYSEC-2016-4","UBUNTU-CVE-2016-6298"],"analysis":null,"analysis_generated_by":null,"assigner":"redhat","cpe":[{"product":"jwcrypto","vendor":"latchset"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The _Rsa15 class in the RSA 1.5 algorithm implementation in jwa.py in jwcrypto before 0.3.2 lacks the Random Filling protection mechanism, which makes it easier for remote attackers to obtain cleartext data via a Million Message Attack (MMA).","ecosystems":["PyPI"],"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":"jwcrypto lacks the Random Filling protection mechanism","id":"CVE-2016-6298","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2016"},"n_packages":3,"n_references":5,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2016-6299"},"packages":[{"ecosystem":"PyPI","fixed":["0.3.2"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":null,"source":"GHSA-wg33-x934-3ghh"},{"ecosystem":"PyPI","fixed":["0.3.2"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"GHSA-wg33-x934-3ghh"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"PYSEC-2016-4"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2016-6297"},"products":["n/a"],"published":"2016-09-01","related":[{"cvss_score":5.3,"headline":"JWCrypto: JWE ZIP decompression bomb","id":"CVE-2026-39373","kev_date_added":null,"published":"2026-04-07"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":null,"url":"https://insights.sbomify.com/CVE-2016-6298/"}