{"id":"GHSA-5w9c-rv96-fr7g","aliases":["GHSA-5w9c-rv96-fr7g"],"related":[],"kind":"vulnerability","state":"published","title":"Removal of functional code in faker.js","summary":"Faker.js helps users create large amounts of data for testing and development. The maintainer deliberately removed the functional code from this package. This appears to be a purposeful and successful attempt to make the package unusable. This is related to the colors.js [CVE-2021-23567](https://github.com/advisories/GHSA-gh88-3pxp-6fm8). \n\nThe functional code for this package was forked and can be found [here](https://github.com/faker-js/faker).","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Faker.js helps users create large amounts of data for testing and development. The maintainer deliberately removed the functional code from this package. This appears to be a purposeful and successful attempt to make the package unusable. This is related to the colors.js [CVE-2021-23567](https://github.com/advisories/GHSA-gh88-3pxp-6fm8). \n\nThe functional code for this package was forked and can be found [here](https://github.com/faker-js/faker).","format":"markdown","source":"ghsa"}],"published":"2022-03-22T19:28:24.000Z","modified":"2022-03-22T20:33:40.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"6.6.6","status":"affected"}],"ecosystem":"npm","package":"faker","purl":"pkg:npm/faker","source":"ghsa"}],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23567","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Marak/colors.js/issues/285","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Marak/colors.js/issues/285%23issuecomment-1008212640","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Marak/colors.js/commit/074a0f8ed0c31c35d13d28632bd8a049ff136fb6#diff-92bbac9a308cd5fcf9db165841f2d90ce981baddcb2b1e26cfff170929af3bd1R18","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Marak/Faker.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-gh88-3pxp-6fm8","tags":["advisory"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-COLORS-2331906","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/@faker-js/faker","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/faker","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5w9c-rv96-fr7g","url":"https://github.com/advisories/GHSA-5w9c-rv96-fr7g","licence":"CC-BY-4.0","modified":"2022-03-22T20:33:40.000Z"}],"updatedAt":"2026-11-25T22:56:44.253Z"}