{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-33898 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-33898 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-33898 is a high-severity unsafe deserialization vulnerability in n/a, published on 6 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-33898 and fix it if it is affected.\n\nWhat it is: CVE-2021-33898 is a high-severity unsafe deserialization vulnerability in n/a, published on 6 Jun 2021. 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-2021-33898 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2021-33898/ (Markdown: https://insights.sbomify.com/CVE-2021-33898/index.md)","id":"CVE-2021-33898","markdown":"https://insights.sbomify.com/CVE-2021-33898/index.md","name":"CVE-2021-33898","record":{"aliases":["GHSA-r5q9-wmfc-68m2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Invoice Ninja","requires_auth":"none","summary":"An unsafe unserialize call in Invoice Ninja allows remote code execution if an attacker controls the geoplugin.net response.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"invoice_ninja","vendor":"invoiceninja"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Deserialization in n/a","id":"CVE-2021-33898","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"StartTLS and SASL confidentiality protection bypass","id":"CVE-2021-33900"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-33897"},"products":["n/a"],"published":"2021-06-06","related":[{"cvss_score":7.7,"headline":"Server-side request forgery in n/a","id":"CVE-2026-29925","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":6.5,"headline":"Cross-site Scripting (XSS) - Stored in invoiceninja/invoiceninja","id":"CVE-2021-3977","kev_date_added":null,"published":"2021-12-24"},{"cvss_score":5.4,"headline":"Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items","id":"CVE-2026-33628","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":5.4,"headline":"Invoice Ninja has Stored XSS via Markdown HTML Injection in Product Notes","id":"CVE-2026-33742","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2017-1000466","kev_date_added":null,"published":"2018-01-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"An unsafe unserialize call in Invoice Ninja allows remote code execution if an attacker controls the geoplugin.net response.","url":"https://insights.sbomify.com/CVE-2021-33898/"}