{"id":"CVE-2021-39229","aliases":["CVE-2021-39229","GHSA-qhmp-h54x-38qr","PYSEC-2021-327"],"related":[],"kind":"vulnerability","state":"published","title":"Regular expression deinal of service in apprise","summary":"Apprise is an open source library which allows you to send a notification to almost all of the most popular notification services available. In affected versions users who use Apprise granting them access to the IFTTT plugin (which just comes out of the box) are subject to a denial of service attack on an inefficient regular expression. The vulnerable regular expression is [here](https://github.com/caronc/apprise/blob/0007eade20934ddef0aba38b8f1aad980cfff253/apprise/plugins/NotifyIFTTT.py#L356-L359). The problem has been patched in release version 0.9.5.1. Users who are unable to upgrade are advised to remove `apprise/plugins/NotifyIFTTT.py` to eliminate the service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Apprise is an open source library which allows you to send a notification to almost all of the most popular notification services available. In affected versions users who use Apprise granting them access to the IFTTT plugin (which just comes out of the box) are subject to a denial of service attack on an inefficient regular expression. The vulnerable regular expression is [here](https://github.com/caronc/apprise/blob/0007eade20934ddef0aba38b8f1aad980cfff253/apprise/plugins/NotifyIFTTT.py#L356-L359). The problem has been patched in release version 0.9.5.1. Users who are unable to upgrade are advised to remove `apprise/plugins/NotifyIFTTT.py` to eliminate the service.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Apprise es una biblioteca de código abierto que permite enviar una notificación a casi todos los servicios de notificación más populares disponibles. En las versiones afectadas, los usuarios que usan Apprise dándoles acceso al plugin de IFTTT (que acaba de salir de la caja) están sujetos a un ataque de denegación de servicio en una expresión regular ineficiente. La expresión regular vulnerable es [aquí](https://github.com/caronc/apprise/blob/0007eade20934ddef0aba38b8f1aad980cfff253/apprise/plugins/NotifyIFTTT.py#L356-L359). El problema ha sido parcheado en la versión 0.9.5.1. Se aconseja a usuarios que no puedan actualizar que eliminen \"apprise/plugins/NotifyIFTTT.py\" para eliminar el servicio","source":"nvd"}],"published":"2021-09-20T20:57:02.000Z","modified":"2026-07-08T06:28:03.764Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 0.9.5.1","status":"affected"}],"vendor":"caronc","product":"apprise","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.5.1"}],"ecosystem":"PyPI","package":"apprise","purl":"pkg:pypi/apprise","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.9.5.1"}],"vendor":"nuxref","product":"apprise","cpe":"cpe:2.3:a:nuxref:apprise:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.5.1"}],"ecosystem":"PyPI","package":"apprise","purl":"pkg:pypi/apprise","source":"pysec"}],"references":[{"url":"https://github.com/caronc/apprise/security/advisories/GHSA-qhmp-h54x-38qr","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/caronc/apprise/pull/436","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/caronc/apprise/blob/0007eade20934ddef0aba38b8f1aad980cfff253/apprise/plugins/NotifyIFTTT.py#L356-L359","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39229","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/caronc/apprise/commit/e20fce630d55e4ca9b0a1e325a5fea6997489831","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/caronc/apprise","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/caronc/apprise/releases/tag/v0.9.5.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apprise/PYSEC-2021-327.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39229","url":"https://www.cve.org/CVERecord?id=CVE-2021-39229","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qhmp-h54x-38qr","url":"https://github.com/advisories/GHSA-qhmp-h54x-38qr","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:03.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39229","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39229","licence":"Public domain","modified":"2026-06-17T04:03:21.583Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-327","url":"https://osv.dev/vulnerability/PYSEC-2021-327","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:34.460Z"}],"updatedAt":"2026-11-25T22:58:04.084Z","epss":{"score":0.01891,"percentile":0.80189,"date":"2026-12-01T12:00:22.000Z"}}