{"answers":{"affected":"3 open source packages ship an affected version, including rdiffweb. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4314 exists.","fix":"Upgrade rdiffweb to 2.5.2 or later.","what":"CVE-2022-4314 is a medium-severity vulnerability in ikus060/rdiffweb, published on 6 Dec 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4314 and fix it if it is affected.\n\nWhat it is: CVE-2022-4314 is a medium-severity vulnerability in ikus060/rdiffweb, published on 6 Dec 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4314 exists.\n\nAffected packages and fixed versions:\n- rdiffweb (PyPI): affected all versions; fixed in 2.5.2\n- rdiffweb (PyPI): affected all versions; fixed in 2.5.2\n- rdiffweb (PyPI): affected all versions; fixed in 2.5.2\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-2022-4314/ (Markdown: https://insights.sbomify.com/CVE-2022-4314/index.md)","id":"CVE-2022-4314","markdown":"https://insights.sbomify.com/CVE-2022-4314/index.md","name":"CVE-2022-4314","record":{"aliases":["GHSA-g594-55mp-f6q8","PYSEC-2022-43002"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"rdiffweb backup tool","requires_auth":"high_privilege","summary":"An attacker can exploit improper privilege management in rdiffweb to escalate privileges within the application.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"rdiffweb","vendor":"ikus-soft"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L","version":"3.0"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"Improper Privilege Management in GitHub repository ikus060/rdiffweb prior to 2.5.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Improper Privilege Management in ikus060/rdiffweb","id":"CVE-2022-4314","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Missing authorization in GitLab","id":"CVE-2022-4315"},"packages":[{"ecosystem":"PyPI","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":null,"source":"GHSA-g594-55mp-f6q8"},{"ecosystem":"PyPI","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":"pkg:pypi/rdiffweb","source":"GHSA-g594-55mp-f6q8"},{"ecosystem":"PyPI","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":"pkg:pypi/rdiffweb","source":"PYSEC-2022-43002"}],"prev":{"headline":"Command injection in Tenable.io, Tenable.sc and Nessus","id":"CVE-2022-4313"},"products":["ikus060/rdiffweb"],"published":"2022-12-06","related":[{"cvss_score":10,"headline":"Improper Restriction of Rendered UI Layers or Frames in ikus060/rdiffweb","id":"CVE-2022-3167","kev_date_added":null,"published":"2022-09-08"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery (CSRF) in ikus060/rdiffweb","id":"CVE-2022-3221","kev_date_added":null,"published":"2022-09-15"},{"cvss_score":8.4,"headline":"Improper Access Control in ikus060/rdiffweb","id":"CVE-2022-4724","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":8.2,"headline":"Path Traversal in ikus060/rdiffweb","id":"CVE-2022-3389","kev_date_added":null,"published":"2022-10-06"},{"cvss_score":7.5,"headline":"rdiffweb's lack of token name length limit can result in DoS or memory corruption","id":"CVE-2022-3371","kev_date_added":null,"published":"2022-09-30"},{"cvss_score":7.5,"headline":"Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in ikus060/rdiffweb","id":"CVE-2022-3174","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":7.2,"headline":"Authentication Bypass by Primary Weakness in ikus060/rdiffweb","id":"CVE-2022-4722","kev_date_added":null,"published":"2022-12-23"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-14","vendors":["ikus060"]},"summary":"An attacker can exploit improper privilege management in rdiffweb to escalate privileges within the application.","url":"https://insights.sbomify.com/CVE-2022-4314/"}