Security Exception in com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.expr

checkstyle Updated 02 Oct 2025

Summary

13/11/2023
LOW
Yes i
Low
Not published

OSV-2023-1152: Security exception in com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.expr. Affects checkstyle versions >= 94cd165da31942661301a09561e4b4ad85366c77, < 11e2b4baee11523db5c15602380775e95fb437ba. Fixed in 11e2b4baee11523db5c15602380775e95fb437ba. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The checkstyle package is a tool for checking Java source code for adherence to a set of coding standards. It provides a way to automate the process of checking code against a defined set of rules. The package includes a grammar parser for the Java language, which is used to analyze and validate the code. This vulnerability affects the JavaLanguageParser.expr method in the checkstyle package.

Vulnerability Detail

The vulnerability is a security exception that occurs in the JavaLanguageParser.expr method. It has been reported through the OSS-Fuzz project. The crash state indicates that the exception is triggered during the execution of the ByteBuffer.position method in the Java standard library. The exact cause and impact of the exception are not provided in the report. However, security exceptions can potentially lead to unauthorized access, data leaks, or other security vulnerabilities.

How To Fix

Minimum fixed version

11e2b4baee11523db5c15602380775e95fb437ba

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No workaround is mentioned in the report.

Conclusion

In conclusion, this vulnerability affects the com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.expr method in the checkstyle package. It is recommended to update the package to a version that includes the fix to mitigate the security exception. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for checkstyle →

Share this vulnerability

FAQ

Checkstyle is a tool for checking Java source code against a set of coding standards.

The impact of this vulnerability is not specified in the report, but security exceptions can potentially lead to unauthorized access, data leaks, or other security vulnerabilities.

To fix this vulnerability, update the checkstyle package to a version that includes the fix.

The fix for this vulnerability was introduced in commit 11e2b4baee11523db5c15602380775e95fb437ba in the checkstyle GitHub repository.

No workaround is mentioned in the report.

Related vulnerabilities

Recent vulnerabilities recorded for checkstyle.

How To Fix

Minimum fixed version

11e2b4baee11523db5c15602380775e95fb437ba

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback