Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ”’๏ธ Denial of Service due to parser crash in Woodstox 6.2.4 #13

Open
1 task
LVMVRQUXL opened this issue Nov 14, 2024 · 1 comment
Open
1 task
Labels
dependencies Managing dependencies. security Security vulnerabilities.
Milestone

Comments

@LVMVRQUXL
Copy link
Contributor

LVMVRQUXL commented Nov 14, 2024

๐Ÿ“ Description

Security vulnerability encountered by Dependabot.

  • Package: com.fasterxml.woodstox:woodstox-core.
  • Affected versions: >= 6.0.0, < 6.4.0.
  • Patched version: 6.4.0.

Those using FasterXML/woodstox to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

This vulnerability is only relevant for users making use of the DTD parsing functionality.

See advisory in GitHub Advisory Database.

๐Ÿ”— Dependencies

This issue is blocked by the following items:

@LVMVRQUXL LVMVRQUXL added security Security vulnerabilities. dependencies Managing dependencies. labels Nov 14, 2024
@LVMVRQUXL
Copy link
Contributor Author

LVMVRQUXL commented Nov 14, 2024

In Kotools Samples, Woodstox is a transitive dependency: this project depends on Dokka 1.8.20, which indirectly depends on Woodstox 6.2.4.

\--- org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:1.8.20
     \--- org.jetbrains.dokka:dokka-gradle-plugin:1.8.20
          \--- org.jetbrains.dokka:dokka-core:1.8.20
               +--- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.7
               |    +--- com.fasterxml.woodstox:woodstox-core:6.2.4

So upgrading Dokka for supporting the patched version of Woodstox should resolve this issue.
But Dokka 1.9.20, being the latest stable version on 2024-11-14, doesn't support Woodstox 6.4.0...

@LVMVRQUXL LVMVRQUXL changed the title ๐Ÿ”’๏ธ Denial of Service due to parser crash in FasterXML/woodstox ๐Ÿ”’๏ธ Denial of Service due to parser crash in Woodstox 6.2.4 Nov 14, 2024
@LVMVRQUXL LVMVRQUXL added this to the 0.2.0 milestone Nov 28, 2024
@LVMVRQUXL LVMVRQUXL removed this from the 0.2.0 milestone Dec 18, 2024
@LVMVRQUXL LVMVRQUXL added this to the Blocked milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Managing dependencies. security Security vulnerabilities.
Projects
None yet
Development

No branches or pull requests

1 participant