Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808948 (CVE-2021-37714) - dev-java/jsoup: DoS vulnerability (CVE-2021-37714)
Summary: dev-java/jsoup: DoS vulnerability (CVE-2021-37714)
Alias: CVE-2021-37714
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [masked]
Keywords: PMASKED
Depends on:
Reported: 2021-08-19 00:22 UTC by John Helmert III
Modified: 2021-11-14 14:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-08-19 00:22:00 UTC

jsoup is a Java library for working with HTML. Those using jsoup versions prior to 1.14.2 to parse untrusted HTML or XML may be vulnerable to DOS attacks. If the parser is run on user supplied input, an attacker may supply content that causes the parser to get stuck (loop indefinitely until cancelled), to complete more slowly than usual, or to throw an unexpected exception. This effect may support a denial of service attack. The issue is patched in version 1.14.2. There are a few available workarounds. Users may rate limit input parsing, limit the size of inputs based on system resources, and/or implement thread watchdogs to cap and timeout parse runtimes.

Please bump.
Comment 1 Larry the Git Cow gentoo-dev 2021-11-14 06:44:16 UTC
The bug has been referenced in the following commit(s):

commit 09c37e5b083e097a0739be7d516036d51e9dd58f
Author:     Volkmar W. Pogatzki <>
AuthorDate: 2021-11-13 14:02:53 +0000
Commit:     Miroslav Šulc <>
CommitDate: 2021-11-14 06:44:14 +0000

    profiles/package.mask last-rite dev-java/jsoup
    Signed-off-by: Volkmar W. Pogatzki <>
    Signed-off-by: Miroslav Šulc <>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 2 John Helmert III gentoo-dev Security 2021-11-14 14:32:33 UTC