{"url":"http://public2.vulnerablecode.io/api/packages/60090?format=json","purl":"pkg:composer/smarty/smarty@4.0.3","type":"composer","namespace":"smarty","name":"smarty","version":"4.0.3","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"4.3.1","latest_non_vulnerable_version":"4.3.1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42016?format=json","vulnerability_id":"VCID-jhg5-tdyz-uyh4","summary":"Improper Input Validation\nSmarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. A vulnerability was found that may allow template authors could run restricted static php methods.","references":[{"reference_url":"https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664"},{"reference_url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.43","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/smarty-php/smarty/releases/tag/v3.1.43"},{"reference_url":"https://github.com/smarty-php/smarty/releases/tag/v4.0.3","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/smarty-php/smarty/releases/tag/v4.0.3"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21408","reference_id":"CVE-2021-21408","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21408"},{"reference_url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m","reference_id":"GHSA-4h9c-v5vg-5m6m","reference_type":"","scores":[],"url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/60089?format=json","purl":"pkg:composer/smarty/smarty@3.1.43","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@3.1.43"},{"url":"http://public2.vulnerablecode.io/api/packages/60090?format=json","purl":"pkg:composer/smarty/smarty@4.0.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@4.0.3"}],"aliases":["CVE-2021-21408","GHSA-4h9c-v5vg-5m6m"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-jhg5-tdyz-uyh4"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/smarty/smarty@4.0.3"}