{"id":"CVE-2021-30492","aliases":["GHSA-q348-f93x-9gx4"],"status":"published","title":"Lack of Input Validation in zendesk_api_client_php for Zendesk Subdomain","description":"### Impact\nLack of input validation of the Zendesk subdomain could expose users of the library to Server Side Request Forgery (SSRF).\n\n### Resolution\nValidate the provided Zendesk subdomain to be a valid subdomain in:\n* getAuthUrl\n* getAccessToken","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-918"],"published":"2021-04-29T21:53:06Z","modified":"2024-12-02T05:55:17Z","fixes":[{"ecosystem":"Packagist","package":"zendesk/zendesk_api_client_php","fixed_in":["2.2.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"zendesk/zendesk_api_client_php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zendesk/zendesk_api_client_php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11"}]}],"versions":["2.0.0-beta","2.0.9","v1.0.0","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.2.1","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.1.0","v2.1.1","v2.1.10","v2.1.11","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v2.1.8","v2.1.9","v2.2.0","v2.2.1","v2.2.10","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9"]}],"references":[{"url":"https://github.com/zendesk/zendesk_api_client_php/security/advisories/GHSA-q348-f93x-9gx4","tags":["web"]},{"url":"https://github.com/zendesk/zendesk_api_client_php/pull/466","tags":["web"]},{"url":"https://github.com/zendesk/zendesk_api_client_php/commit/b451b743d9d6d81a9abf7cb86e70ec9c5332123e","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q348-f93x-9gx4"}],"sources":{"ghsa":[{"id":"GHSA-q348-f93x-9gx4","title":"Lack of Input Validation in zendesk_api_client_php for Zendesk Subdomain","description":"### Impact\nLack of input validation of the Zendesk subdomain could expose users of the library to Server Side Request Forgery (SSRF).\n\n### Resolution\nValidate the provided Zendesk subdomain to be a valid subdomain in:\n* getAuthUrl\n* getAccessToken","status":"published","published":"2021-04-29T21:53:06Z","modified":"2023-01-09T05:05:06Z","cwes":["CWE-20","CWE-918"],"updated_at":"2026-11-02T14:36:11.367194Z"}],"osv":[{"id":"GHSA-q348-f93x-9gx4","title":"Lack of Input Validation in zendesk_api_client_php for Zendesk Subdomain","description":"### Impact\nLack of input validation of the Zendesk subdomain could expose users of the library to Server Side Request Forgery (SSRF).\n\n### Resolution\nValidate the provided Zendesk subdomain to be a valid subdomain in:\n* getAuthUrl\n* getAccessToken","status":"published","published":"2021-04-29T21:53:06Z","modified":"2024-12-02T05:55:17.026669Z","cwes":["CWE-20","CWE-918"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
