GHSA-fgmr-vx7c-5wj6

Suggest an improvement
Source
https://github.com/advisories/GHSA-fgmr-vx7c-5wj6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-fgmr-vx7c-5wj6/GHSA-fgmr-vx7c-5wj6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fgmr-vx7c-5wj6
Aliases
Published
2019-09-26T21:30:34Z
Modified
2023-11-08T04:00:39.495402Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Timing attack on HMAC signature comparison in Apache Tapestry
Details

The code which checks HMAC in form submissions used String.equals() for comparisons, which results in a timing side channel for the comparison of the HMAC signatures. This could lead to remote code execution if an attacker is able to determine the correct signature for their payload. The comparison should be done with a constant time algorithm instead.

Database specific
{
    "nvd_published_at": "2019-09-16T18:15:00Z",
    "github_reviewed_at": "2019-09-23T22:30:40Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-203",
        "CWE-697"
    ]
}
References

Affected packages

Maven / org.apache.tapestry:tapestry-core

Package

Name
org.apache.tapestry:tapestry-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.tapestry/tapestry-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4
Fixed
5.4.5

Affected versions

5.*

5.4.0
5.4.1
5.4.2
5.4.3
5.4.4