GHSA-wf33-6x33-wcf9 CVE-2022-4722 PYSEC-2022-43008
rdiffweb vulnerable to Authentication Bypass by Primary Weakness
- Severity
- 0.0 / 10
- High · CVSS 4.0
- Exploit chance (EPSS)
- 1.21%
- Chance of exploitation in the next 30 days. Higher than 68.34% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Fix
2.5.5- Upgrade rdiffweb to this version or later
Description
In rdiffweb prior to 2.5.5, the username field is not unique to users. This allows exploitation of primary key logic by creating the same name with different combinations & may allow unauthorized access.
Affected versions
PyPI
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
rdiffweb PyPI → 2.5.5
- pip
pip install --upgrade "rdiffweb>=2.5.5"- poetry
poetry add "rdiffweb>=2.5.5"- uv
uv add "rdiffweb>=2.5.5"
Severity breakdown
CVSS 4.0 0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- High
- User interaction
- None
- Confidentiality (vulnerable system)
- High
- Integrity (vulnerable system)
- High
- Availability (vulnerable system)
- High
- Confidentiality (subsequent systems)
- None
- Integrity (subsequent systems)
- None
- Availability (subsequent systems)
- None
CVSS 3.1 7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How to prevent it
- Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
CWE-305: Authentication Bypass by Primary Weakness
The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-v4gp-hf5j-4566 IKUS Rdiffweb allows an attacker with any valid or stolen access token to act as other users | High | Also affects rdiffweb |
| GHSA-c4rv-2j6x-pq7x Rdiffweb Allocation of Resources Without Limits or Throttling vulnerability | High | Also affects rdiffweb |
| GHSA-wwrg-2w5j-grvx RDiffWeb vulnerable to Allocation of Resources Without Limits or Throttling | Medium | Also affects rdiffweb |
| GHSA-m8r9-qxx8-mrxp rdiffweb Improper Access Control vulnerability | Critical | Also affects rdiffweb |
| GHSA-h5wp-jrqc-cwwx rdiffweb vulnerable to Open Redirect | High | Also affects rdiffweb |
| GHSA-83pm-7v48-5jp4 rdiffweb vulnerable to Special Element Injection | Medium | Also affects rdiffweb |
| GHSA-7q4r-x5qg-mmcp rdiffweb has no rate limit on resend email feature | Medium | Also affects rdiffweb |
| GHSA-2wpw-cm9w-v4xm rdiffweb vulnerable to Business Logic Errors | Medium | Also affects rdiffweb |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor