{"id":"GHSA-q348-f93x-9gx4","aliases":["CVE-2021-30492"],"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","severity":"critical","score":null,"published":"2021-04-29T21:53:06.000Z","modified":"2024-12-02T05:55:17.026Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"zendesk/zendesk_api_client_php","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.2.11"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.2.11"]}],"references":["https://github.com/zendesk/zendesk_api_client_php/security/advisories/GHSA-q348-f93x-9gx4","https://github.com/zendesk/zendesk_api_client_php/pull/466","https://github.com/zendesk/zendesk_api_client_php/commit/b451b743d9d6d81a9abf7cb86e70ec9c5332123e"],"sources":[{"name":"OSV","id":"GHSA-q348-f93x-9gx4","modified":"2024-12-02T05:55:17.026669Z","url":"https://osv.dev/vulnerability/GHSA-q348-f93x-9gx4"}],"assessments":[]}