CVEvulnerability

CVE-2015-9238

5.3 MEDIUM Published 2018-05-31 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-05-31
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
5.3 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-134, CWE-697

Description

secure-compare 3.0.0 and below do not actually compare two strings properly. compare was actually comparing the first argument with itself, meaning the check passed for any two strings of the same length.

Affected configurations

• secure-compare project secure-compare (< 3.0.1)

Related

Weakness · CWE (2)

  • CWE-134 Use of Externally-Controlled Format String weakness
  • CWE-697 Incorrect Comparison weakness

References