{"id":"CVE-2024-57075","aliases":["CVE-2024-57075","GHSA-r7jx-5m6m-cpg9"],"related":[],"kind":"vulnerability","state":"published","title":"eazy-logger prototype pollution","summary":"A prototype pollution in the lib.Logger function of eazy-logger v4.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A prototype pollution in the lib.Logger function of eazy-logger v4.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.","source":"cvelist"},{"lang":"en","text":"A prototype pollution in the lib.Logger function of eazy-logger v4.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.\n\nAn attacker can supply a payload with `Object.prototype` setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.\n\nMoreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., `child_process.exec`, `eval`), it could enable an attacker to execute arbitrary commands within the application's context.\n\n## Proof of Concept\n\n```js\n(async () => {\nconst lib = await import('eazy-logger');\nvar someObj = {}\nconsole.log(\"Before Attack: \", JSON.stringify({}.__proto__));\ntry {\n// for multiple functions, uncomment only one for each execution.\nlib.Logger (JSON.parse('{\"__proto__\":{\"pollutedKey\":123}}'))\n} catch (e) { }\nconsole.log(\"After Attack: \", JSON.stringify({}.__proto__));\ndelete Object.prototype.pollutedKey;\n})();\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un prototipo de contaminación en la función lib.Logger de eazy-logger v4.0.1 permite a los atacantes provocar una denegación de servicio (DoS) mediante el suministro de un payload manipulado.","source":"nvd"}],"published":"2025-02-05T00:00:00.000Z","modified":"2026-06-17T08:13:17.013Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1321"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"npm","package":"eazy-logger","purl":"pkg:npm/eazy-logger","source":"ghsa"}],"references":[{"url":"https://gist.github.com/tariqhawis/c601f7f85146510ca899a7406a03aba5","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57075","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/shakyShane/eazy-logger/commit/a8baa6fe441d19ffa9916eba367016b7937a28fd","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/shakyShane/eazy-logger","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-02-06T14:49:38.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-57075","url":"https://www.cve.org/CVERecord?id=CVE-2024-57075","licence":"CVE Terms of Use","modified":"2025-03-13T14:31:04.080Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r7jx-5m6m-cpg9","url":"https://github.com/advisories/GHSA-r7jx-5m6m-cpg9","licence":"CC-BY-4.0","modified":"2025-04-07T12:34:01.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-57075","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57075","licence":"Public domain","modified":"2026-06-17T08:13:17.013Z"}],"updatedAt":"2026-11-25T22:58:51.415Z","epss":{"score":0.00598,"percentile":0.4998,"date":"2026-12-01T12:00:22.000Z"}}