Vulnerabilites related to secure-compare_project - secure-compare
Vulnerability from fkie_nvd
Published
2018-05-31 20:29
Modified
2024-11-21 02:40
Severity ?
Summary
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.
References
▶ | URL | Tags | |
---|---|---|---|
support@hackerone.com | https://github.com/vdemedes/secure-compare/pull/1 | Third Party Advisory | |
support@hackerone.com | https://nodesecurity.io/advisories/50 | Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://github.com/vdemedes/secure-compare/pull/1 | Third Party Advisory | |
af854a3a-2127-422b-91ae-364da2661108 | https://nodesecurity.io/advisories/50 | Third Party Advisory |
Impacted products
Vendor | Product | Version | |
---|---|---|---|
secure-compare_project | secure-compare | * |
{ "configurations": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:secure-compare_project:secure-compare:*:*:*:*:*:node.js:*:*", "matchCriteriaId": "36CA87CF-44C4-49F9-B7BF-29CC3A138E53", "versionEndExcluding": "3.0.1", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "secure-compare, en versiones 3.0.0 y anteriores, no compara correctamente dos cadenas. compare estaba comparando el primer argumento con s\u00ed mismo, lo que significa que la comprobaci\u00f3n pasaba para cualquier conjunto de dos cadenas de la misma longitud." } ], "id": "CVE-2015-9238", "lastModified": "2024-11-21T02:40:07.360", "metrics": { "cvssMetricV2": [ { "acInsufInfo": true, "baseSeverity": "MEDIUM", "cvssData": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "source": "nvd@nist.gov", "type": "Primary", "userInteractionRequired": false } ], "cvssMetricV30": [ { "cvssData": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.0" }, "exploitabilityScore": 3.9, "impactScore": 1.4, "source": "nvd@nist.gov", "type": "Primary" } ] }, "published": "2018-05-31T20:29:00.423", "references": [ { "source": "support@hackerone.com", "tags": [ "Third Party Advisory" ], "url": "https://github.com/vdemedes/secure-compare/pull/1" }, { "source": "support@hackerone.com", "tags": [ "Third Party Advisory" ], "url": "https://nodesecurity.io/advisories/50" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ], "url": "https://github.com/vdemedes/secure-compare/pull/1" }, { "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Third Party Advisory" ], "url": "https://nodesecurity.io/advisories/50" } ], "sourceIdentifier": "support@hackerone.com", "vulnStatus": "Modified", "weaknesses": [ { "description": [ { "lang": "en", "value": "CWE-697" } ], "source": "support@hackerone.com", "type": "Secondary" }, { "description": [ { "lang": "en", "value": "CWE-134" } ], "source": "nvd@nist.gov", "type": "Primary" } ] }
CVE-2015-9238 (GCVE-0-2015-9238)
Vulnerability from cvelistv5
Published
2018-05-31 20:00
Modified
2024-09-16 17:43
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-697 - Incorrect Comparison ()
Summary
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.
References
► | URL | Tags | ||||||
---|---|---|---|---|---|---|---|---|
|
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
HackerOne | secure-compare node module |
Version: <=3.0.0 |
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-06T08:43:42.637Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/vdemedes/secure-compare/pull/1" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://nodesecurity.io/advisories/50" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "secure-compare node module", "vendor": "HackerOne", "versions": [ { "status": "affected", "version": "\u003c=3.0.0" } ] } ], "datePublic": "2018-04-26T00:00:00", "descriptions": [ { "lang": "en", "value": "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." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-697", "description": "Incorrect Comparison (CWE-697)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2018-05-31T19:57:01", "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "shortName": "hackerone" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/vdemedes/secure-compare/pull/1" }, { "tags": [ "x_refsource_MISC" ], "url": "https://nodesecurity.io/advisories/50" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "support@hackerone.com", "DATE_PUBLIC": "2018-04-26T00:00:00", "ID": "CVE-2015-9238", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "secure-compare node module", "version": { "version_data": [ { "version_value": "\u003c=3.0.0" } ] } } ] }, "vendor_name": "HackerOne" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Incorrect Comparison (CWE-697)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/vdemedes/secure-compare/pull/1", "refsource": "MISC", "url": "https://github.com/vdemedes/secure-compare/pull/1" }, { "name": "https://nodesecurity.io/advisories/50", "refsource": "MISC", "url": "https://nodesecurity.io/advisories/50" } ] } } } }, "cveMetadata": { "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "assignerShortName": "hackerone", "cveId": "CVE-2015-9238", "datePublished": "2018-05-31T20:00:00Z", "dateReserved": "2017-10-29T00:00:00", "dateUpdated": "2024-09-16T17:43:37.504Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }