{"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-4018 exists.","fix":"Upgrade rdiffweb to a fixed version for your release line: 2.4.11a1 or 2.5.0a6.","what":"CVE-2022-4018 is a medium-severity missing authorization vulnerability in ikus060/rdiffweb, published on 16 Nov 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4018 and fix it if it is affected.\n\nWhat it is: CVE-2022-4018 is a medium-severity missing authorization vulnerability in ikus060/rdiffweb, published on 16 Nov 2022. It can only be exploited from the same machine or local network, 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-4018 exists.\n\nAffected packages and fixed versions:\n- rdiffweb (PyPI): affected all versions; fixed in 2.4.11a1\n- rdiffweb (PyPI): affected all versions; fixed in 2.5.0a6\n- rdiffweb (PyPI): affected all versions; fixed in 2.5.0a6\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-4018/ (Markdown: https://insights.sbomify.com/CVE-2022-4018/index.md)","id":"CVE-2022-4018","markdown":"https://insights.sbomify.com/CVE-2022-4018/index.md","name":"CVE-2022-4018","record":{"aliases":["GHSA-4wph-9vrm-6v3w","PYSEC-2022-43001"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"rdiffweb backup tool","requires_auth":"high_privilege","summary":"Attackers can access critical backup functions without authentication, potentially reading or modifying data in rdiffweb.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"rdiffweb","vendor":"ikus-soft"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Missing Authentication for Critical Function in GitHub repository ikus060/rdiffweb prior to 2.5.0a6.","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":"Missing Authentication for Critical Function in ikus060/rdiffweb","id":"CVE-2022-4018","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Denial of service in Playbooks Plugin","id":"CVE-2022-4019"},"packages":[{"ecosystem":"PyPI","fixed":["2.4.11a1"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":"pkg:pypi/rdiffweb","source":"PYSEC-2022-43001"},{"ecosystem":"PyPI","fixed":["2.5.0a6"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":null,"source":"GHSA-4wph-9vrm-6v3w"},{"ecosystem":"PyPI","fixed":["2.5.0a6"],"introduced":["0"],"last_affected":[],"package":"rdiffweb","purl":"pkg:pypi/rdiffweb","source":"GHSA-4wph-9vrm-6v3w"}],"prev":{"headline":"Booster for WooCommerce - Multiple CSRF","id":"CVE-2022-4017"},"products":["ikus060/rdiffweb"],"published":"2022-11-16","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":"Attackers can access critical backup functions without authentication, potentially reading or modifying data in rdiffweb.","url":"https://insights.sbomify.com/CVE-2022-4018/"}