{"id":"CVE-2024-47178","aliases":["CVE-2024-47178","GHSA-7p89-p6hx-q4fw"],"related":[],"kind":"vulnerability","state":"published","title":"basic-auth-connect's callback uses time unsafe string comparison","summary":"basic-auth-connect is Connect's Basic Auth middleware in its own module. basic-auth-connect < 1.1.0 uses a timing-unsafe equality comparison that can leak timing information. This issue has been fixed in basic-auth-connect 1.1.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"basic-auth-connect is Connect's Basic Auth middleware in its own module. basic-auth-connect < 1.1.0 uses a timing-unsafe equality comparison that can leak timing information. This issue has been fixed in basic-auth-connect 1.1.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nbasic-auth-connect <1.1.0 uses a timing-unsafe equality comparison that can leak timing information\n\n### Patches\n\nthis issue has been fixed in basic-auth-connect 1.1.0\n\n### References","format":"markdown","source":"ghsa"},{"lang":"es","text":"basic-auth-connect es el middleware de autenticación básica de Connect en su propio módulo. basic-auth-connect &lt; 1.1.0 utiliza una comparación de igualdad que no es segura en cuanto al tiempo y que puede filtrar información sobre el tiempo. Este problema se ha solucionado en basic-auth-connect 1.1.0.","source":"nvd"}],"published":"2024-09-30T15:09:59.513Z","modified":"2026-06-17T07:56:40.830Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"version":"< 1.1.0","status":"affected"}],"vendor":"expressjs","product":"basic-auth-connect","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.0"}],"ecosystem":"npm","package":"basic-auth-connect","purl":"pkg:npm/basic-auth-connect","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.0"}],"vendor":"expressjs","product":"basic-auth-connect","cpe":"cpe:2.3:a:expressjs:basic-auth-connect:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/expressjs/basic-auth-connect/security/advisories/GHSA-7p89-p6hx-q4fw","tags":["exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/expressjs/basic-auth-connect/commit/bac1e6a8530e1efd0028800b9b588a37adb0d203","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47178","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/expressjs/basic-auth-connect","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-30T16:01:21.696Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47178","url":"https://www.cve.org/CVERecord?id=CVE-2024-47178","licence":"CVE Terms of Use","modified":"2024-09-30T16:01:32.189Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7p89-p6hx-q4fw","url":"https://github.com/advisories/GHSA-7p89-p6hx-q4fw","licence":"CC-BY-4.0","modified":"2024-09-30T20:11:40.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47178","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47178","licence":"Public domain","modified":"2026-06-17T07:56:40.830Z"}],"updatedAt":"2026-11-25T22:58:45.898Z","epss":{"score":0.00522,"percentile":0.45798,"date":"2026-12-01T12:00:22.000Z"}}