Skip to content

GHSA-83pm-7v48-5jp4 CVE-2022-4721 PYSEC-2022-43007

rdiffweb vulnerable to Special Element Injection

Medium PyPI
Severity
0.0 / 10
Medium · CVSS 4.0
Exploit chance (EPSS)
0.52%
Chance of exploitation in the next 30 days. Higher than 44.03% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-75 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
Fix
2.5.5
Upgrade rdiffweb to this version or later

Description

In rdiffweb prior to 2.5.5, lack of sanitisation of characters in SSH key name could allow attacker to inject a hyperlink injection that could allow attacker to redirect victim to malicious websites.

Affected versions

PyPI

PackageVulnerableFixed in
rdiffweb
< 2.5.5
2.5.5
rdiffweb
< 2.5.5
2.5.5

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:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality (vulnerable system)
Low
Integrity (vulnerable system)
Low
Availability (vulnerable system)
None
Confidentiality (subsequent systems)
None
Integrity (subsequent systems)
None
Availability (subsequent systems)
None

CVSS 3.1 5.4

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

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Weakness

CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

The product does not adequately filter user-controlled input for special elements with control implications.

How to prevent it
  • Requirements: Programming languages and supporting technologies might be chosen which are not subject to these issues.
  • Implementation: Utilize an appropriate mix of allowlist and denylist parsing to filter special element syntax from all input.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy 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-wf33-6x33-wcf9
rdiffweb vulnerable to Authentication Bypass by Primary Weakness
High 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-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
Is this in your code?

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