CVE-2022-3233: Rdiffweb Rdiffweb CSRF Could Lead To Vulnerability

MODERATE
Advisory Identifier: GHSA-9vxf-mcm6-5m42
CVSS 4.3
CWE-352
Published
Advisory Summary

CVE-2022-3233 is a MODERATE (CVSS 4.3) rdiffweb csrf could lead to vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Rdiffweb libraries in the PyPI ecosystem. The issue involves rdiffweb csrf could lead to disabling notifications in user profile. Remediation is available by upgrading affected packages to version 2.4.6.

CVE-2022-3233 at a Glance

CVE Identifier CVE-2022-3233
GHSA Identifier GHSA-9vxf-mcm6-5m42
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Rdiffweb
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-3233

To remediate this vulnerability, upgrade all affected Rdiffweb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rdiffweb fixed: 2.4.6
pip install rdiffweb>=2.4.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show rdiffweb

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2022-3233, inspect your installed packages using pip:

pip show rdiffweb

Analyze the terminal output to locate any version of Rdiffweb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.6), your application is affected.

Note: The pip show rdiffweb command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Rdiffweb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

rdiffweb prior to 2.4.6 is vulnerable to Cross-Site Request Forgery (CSRF), which could lead to disabling notifications in a user's profile.

CVE-2022-3233 Affected Rdiffweb Versions

1 component(s)
Fixed Versions:
2.4.6
Product / Package Ecosystem Affected Versions Fixed Version
rdiffweb
PyPI
< 2.4.6
2.4.6

References

Frequently Asked Questions

What is CVE-2022-3233?
CVE-2022-3233 is a security vulnerability in Rdiffweb involving rdiffweb CSRF could lead to disabling notifications in user profile under CWE-352: Cross-Site Request Forgery (CSRF).
Which Rdiffweb versions are affected?
Affected versions include releases prior to 2.4.6 across affected packages: rdiffweb.
What version fixes CVE-2022-3233?
Upgrading to 2.4.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rdiffweb affected?
Yes, rdiffweb is affected in releases prior to 2.4.6. Upgrade your dependency to 2.4.6 or later.
What is the CVSS score of CVE-2022-3233?
CVE-2022-3233 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2022-3233?
CVE-2022-3233 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2022-3233?
Run the dependency tree command: 'pip show rdiffweb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9vxf-mcm6-5m42",
  "modified" : "2024-10-25T21:34:03Z",
  "published" : "2022-09-22T00:00:21Z",
  "aliases" : [ "CVE-2022-3233" ],
  "summary" : "rdiffweb CSRF could lead to disabling notifications in user profile",
  "details" : "rdiffweb prior to 2.4.6 is vulnerable to Cross-Site Request Forgery (CSRF), which could lead to disabling notifications in a user's profile.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "rdiffweb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.4.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3233"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ikus060/rdiffweb/commit/18a5aabd48fa6d2d2771a25f95610c28a1a097ca"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ikus060/rdiffweb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/rdiffweb/PYSEC-2022-285.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/5ec206e0-eca0-4957-9af4-fdd9185d1db3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-22T22:43:34Z",
    "nvd_published_at" : "2022-09-21T20:15:00Z"
  }
}