Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. rdiffweb
  4. ›
  5. CVE-2022-3221

CVE-2022-3221: rdiffweb CSRF vulnerability in profile's SSH keys can lead to unauthorized access

September 16, 2022 (updated October 25, 2024)

rdiffweb prior to 2.4.3 is vulnerable to Cross-Site Request Forgery (CSRF). While adding SSH public keys to the profile, the server accepts the GET request, which results in adding an SSH public key to the profile and leads to unauthorized access to the system and backups. Version 2.4.3 contains a patch for this issue.

References

  • github.com/advisories/GHSA-vq4h-xrwc-m639
  • github.com/ikus060/rdiffweb
  • github.com/ikus060/rdiffweb/commit/9125f5a2d918fed0f3fc1c86fa94cd1779ed9f73
  • github.com/pypa/advisory-database/tree/main/vulns/rdiffweb/PYSEC-2022-278.yaml
  • huntr.dev/bounties/1fa1aac9-b16a-4a70-a7da-960b3908ae1d
  • nvd.nist.gov/vuln/detail/CVE-2022-3221

Code Behaviors & Features

Detect and mitigate CVE-2022-3221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.3

Fixed versions

  • 2.4.3

Solution

Upgrade to version 2.4.3 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/rdiffweb/CVE-2022-3221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.