CVE-2021-3828
HIGH7.5EPSS 0.43%NLTK Vulnerable to REDoS
發布日:2021/9/29修改日:2024/10/7
描述
The nltk package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide as an input to the [`_read_comparison_block()`(https://github.com/nltk/nltk/blob/23f4b1c4b4006b0cb3ec278e801029557cec4e82/nltk/corpus/reader/comparative_sents.py#L259) function in the file `nltk/corpus/reader/comparative_sents.py` may cause an application to consume an excessive amount of CPU.
受影響套件(3)
- Debian/nltkfrom 0
- PyPI/nltkfrom 0, < 3.6.4
- PyPI/nltkfrom 0, < 277711ab1dec729e626b27aab6fa35ea5efbd7e6 | from 0, < 3.6.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(8)
- ADVISORYhttps://github.com/advisories/GHSA-2ww3-fxvq-293j
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-3828
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-3828
- PATCHhttps://github.com/nltk/nltk
- WEBhttps://github.com/nltk/nltk/commit/277711ab1dec729e626b27aab6fa35ea5efbd7e6
- WEBhttps://github.com/nltk/nltk/pull/2816
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2021-356.yaml
- WEBhttps://huntr.dev/bounties/d19aed43-75bc-4a03-91a0-4d0bb516bc32