Common Weakness Enumeration

CWE-697 Incorrect Comparison

Description

The product compares two entities in a security-relevant context, but the comparison is incorrect.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-697 ordered by modification date.

25 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-jqcg-44mw-7w3h CVE-2026-90711 CRITICAL

proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet

2026-10-05
GHSA-j6r3-76f7-8jcv CVE-2026-101912 MODERATE

ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range

2026-09-29
GHSA-rpw4-54j3-4h4q CVE-2026-101913 MODERATE

ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts

2026-09-28
GHSA-jvh5-97xg-v99f CVE-2026-79913 MODERATE

Cloudreve: SSRF guard bypass: checkIP does not decode IPv6-transition wrappers (NAT64, IPv4-compatible, 6to4) reaching internal and cloud-metadata addresses

2026-09-22
GHSA-f94q-w3w8-cj67 CVE-2026-61795 MODERATE

Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to bypass webhook validation

2026-09-18
GHSA-gjw4-3v3v-rqxg CVE-2026-61672 HIGH

Capsule: Tenant owner bypasses Capsule's forbidden namespace/service/node label and annotation enforcement

2026-09-18
GHSA-4r9r-4425-74p7 CVE-2026-55771 HIGH

Cedar-Java has policy injection, type confusion, and incorrect equality comparison vulnerabilities

2026-07-28
GHSA-h35f-9h28-mq5c CVE-2026-59890 MODERATE

setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+

2026-07-21
GHSA-m34p-749j-x6m6 CVE-2026-50029 MODERATE

js-toml has silent type confusion via falsy-primitive duplicate-key bypass

2026-07-21
GHSA-cv5c-mh6j-wvp9 CVE-2026-9369 LOW

hermes-agent has an Incorrect Comparison

2026-06-30
GHSA-4gxv-p5g5-j7w7 CVE-2026-49340 HIGH

gonic has arbitrary file write in createPlaylist: any authenticated user can write playlist M3U content to attacker-controlled path on the host

2026-06-26
GHSA-7wx9-6375-f5wh CVE-2026-53873 CRITICAL

PickleScan's profile.run blocklist mismatch allows exec() bypass

2026-06-18
GHSA-3qp7-7mw8-wx86 CVE-2026-44249 HIGH

Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking

2026-06-12
GHSA-g759-4pxw-6692 CVE-2026-48032 HIGH

@hulumi/policies bypasses IAM-role policy checks when the role trusts multiple OIDC providers

2026-06-10
GHSA-3j8v-cgw4-2g6q CVE-2026-35040 MODERATE

fast-jwt: Stateful RegExp (/g or /y) causes non-deterministic allowed-claim validation (logical DoS)

2026-04-09
GHSA-f6j3-w9v3-cq22 CVE-2026-34574 MODERATE

Parse Server has a session field immutability bypass via falsy-value guard

2026-04-01
GHSA-8mhj-rffc-rcvw CVE-2026-34210 MODERATE

mppx has Stripe charge credential replay via missing idempotency check

2026-03-31
GHSA-g433-pq76-6cmf - HIGH -

Bug fixes in hpke-rs, hpke-rs-rust-crypto

2026-03-25
GHSA-x2hw-px52-wp4m CVE-2026-32322 MODERATE -

rs-soroban-sdk: `Fr` scalar field equality comparison bypasses modular reduction

2026-03-16
GHSA-4v8w-gg5j-ph37 CVE-2025-47776 HIGH -

MantisBT vulnerable to authentication bypass for some passwords due to PHP type juggling

2026-03-06
GHSA-7v42-g35v-xrch CVE-2026-26275 HIGH -

Improper Digest Verification in httpsig-hyper May Allow Message Integrity Bypass

2026-02-20
GHSA-w95c-7994-ghpr CVE-2024-56522 HIGH -

TCPDF has incorrect comparison

2025-11-03
GHSA-c2fc-9q9c-5486 CVE-2025-59350 MODERATE

Dragonfly vulnerable to timing attacks against Proxy’s basic authentication

2025-09-26
GHSA-h97m-ww89-6jmq CVE-2024-12224 MODERATE -

`idna` accepts Punycode labels that do not produce any non-ASCII when decoded

2025-05-30
GHSA-23qf-3jf9-h3q9 CVE-2023-40037 MODERATE

Apache NiFi Insufficient Property Validation vulnerability

2025-02-13