{"id":"GHSA-qhmp-h54x-38qr","summary":"Apprise vulnerable to regex injection with IFTTT Plugin","details":"### Impact\nAnyone _publicly_ hosting the Apprise library and granting them access to the IFTTT notification service.\n\n### Patches\nUpdate to Apprise v0.9.5.1\n   ```bash\n   # Install Apprise v0.9.5.1 from PyPI\n   pip install apprise==0.9.5.1\n   ```\n\nThe patch to the problem was performed [here](https://github.com/caronc/apprise/pull/436/files).\n\n### Workarounds\nAlternatively, if upgrading is not an option, you can safely remove the following file:\n- `apprise/plugins/NotifyIFTTT.py` \n\nThe above will eliminate the ability to use IFTTT, but everything else will work smoothly.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Apprise](https://github.com/caronc/apprise/issues)\n* Email me at [lead2gold@gmail.com](mailto:lead2gold@gmail.com)\n\n### Additional Credit\nGithub would not allow me to additionally credit **Rasmus Petersen**, but I would like to put that here at the very least - thank you for finding and reporting this issue along with those already credited\n\n## Additional Notes:\n- Github would not allow me to add/tag the 2 CWE's this issue is applicable to (only CWE-400).  The other is: CWE-730 (placed in the title)\n","aliases":["CVE-2021-39229","PYSEC-2021-327"],"modified":"2026-07-08T06:28:03.764141266Z","published":"2021-09-20T20:57:02Z","database_specific":{"github_reviewed_at":"2021-09-20T20:30:36Z","nvd_published_at":"2021-09-20T22:15:00Z","cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/caronc/apprise/security/advisories/GHSA-qhmp-h54x-38qr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39229"},{"type":"WEB","url":"https://github.com/caronc/apprise/pull/436"},{"type":"WEB","url":"https://github.com/caronc/apprise/commit/e20fce630d55e4ca9b0a1e325a5fea6997489831"},{"type":"PACKAGE","url":"https://github.com/caronc/apprise"},{"type":"WEB","url":"https://github.com/caronc/apprise/blob/0007eade20934ddef0aba38b8f1aad980cfff253/apprise/plugins/NotifyIFTTT.py#L356-L359"},{"type":"WEB","url":"https://github.com/caronc/apprise/releases/tag/v0.9.5.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apprise/PYSEC-2021-327.yaml"}],"affected":[{"package":{"name":"apprise","ecosystem":"PyPI","purl":"pkg:pypi/apprise"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5.1"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.5.0","0.5.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.8.9","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4"],"database_specific":{"last_known_affected_version_range":"\u003c= 0.9.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-qhmp-h54x-38qr/GHSA-qhmp-h54x-38qr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}