Authentication Bypass Affecting pyhawk package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-PYHAWK-6969144
  • published 22 May 2024
  • disclosed 20 Feb 2024
  • credit Christopher Langton

Introduced: 20 Feb 2024

CVE NOT AVAILABLE CWE-287 Open this link in a new tab
First added by Snyk

How to fix?

There is no fixed version for PyHawk.

Overview

PyHawk is a Python libraries for the 'HAWK' HTTP authentication scheme

Affected versions of this package are vulnerable to Authentication Bypass. The incoming (client supplied) hash of the payload is trusted by the server and not verified before the signature is calculated.

A malicious actor in the middle can alter the payload and the server side will not identify the modification occurred because it simply uses the client provided value instead of verify the hash provided against the modified payload.

According to the maintainers this issue is to be considered out of scope as "payload hash validation is optional and up to developer to implement".

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.3 critical
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None