{"id":"GHSA-q43c-g2g7-6gxj","summary":"Cross-Site Request Forgery (CSRF) in keystone","details":"Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Request Forgery (CSRF). The package fails to validate the presence of the `X-CSRF-Token` header, which may allow attackers to carry actions on behalf of other users on all endpoints.\n\n\n## Recommendation\n\nUpdate to version 4.0.0 or later.","aliases":["CVE-2017-16570"],"modified":"2023-11-08T03:59:12.937660Z","published":"2017-11-30T23:14:47Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:50:45Z","nvd_published_at":null,"cwe_ids":["CWE-352"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16570"},{"type":"WEB","url":"https://github.com/keystonejs/keystone/issues/4437"},{"type":"WEB","url":"https://github.com/keystonejs/keystone/pull/4478"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q43c-g2g7-6gxj"},{"type":"WEB","url":"https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-KEYSTONE-449663"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/43922"},{"type":"WEB","url":"https://www.npmjs.com/advisories/979"},{"type":"WEB","url":"http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report"}],"affected":[{"package":{"name":"keystone","ecosystem":"npm","purl":"pkg:npm/keystone"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0-beta.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-q43c-g2g7-6gxj/GHSA-q43c-g2g7-6gxj.json","last_known_affected_version_range":"\u003c= 4.0.0-beta.6"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}