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

included jruby version is vulnerable due to snakeyaml dependency #1215

Closed
derekhillhp opened this issue Jun 2, 2023 · 3 comments
Closed

Comments

@derekhillhp
Copy link

Issue #1141 which lists upgrading jruby to version 9.4.1.0, but that doesn't appear to be included in the latest release of 2.5.9. According to the change log:

~/Downloads/asciidoctorj-2.5.9$ cat CHANGELOG.adoc |grep -i jruby

The latest versoin included is 9.3.10.0 which still has some CVE's against it. As a matter of fact, the latest version of jruby is 9.4.2.0 which was released about 3 months ago. https://github.com/jruby/jruby/releases/tag/9.4.2.0

Is it possible to update to the latest version of jruby 9.4.2.0 and re-issue a new version of asciidoctorj. We are trying to resolve the persistent snakeyaml vulnerabilities which are being pulled in by older versions of jruby.

abelsromero added a commit to abelsromero/asciidoctorj that referenced this issue Jun 3, 2023
abelsromero added a commit to abelsromero/asciidoctorj that referenced this issue Jun 3, 2023
@abelsromero
Copy link
Member

Issue #1141 which lists upgrading jruby to version 9.4.1.0, but that doesn't appear to be included in the latest release of 2.5.9.

That PR is for the main branch which is targeting v3.0.0, version v2.5.9 is in branch v2.5.x.

Is it possible to update to the latest version of jruby 9.4.2.0

Yes, I'll prepare a PR. No issue at all.

and re-issue a new version of asciidoctorj

That's to be confirmed. But checking the JRuby History, I see we are "affected" by https://nvd.nist.gov/vuln/detail/CVE-2022-38751. However, we do not do any yaml parsing, and as such the CVE could be dismissed in case that's an option in the meantime.

@derekhillhp
Copy link
Author

Thanks for the update and fast response. Much appreciated.

@robertpanzer
Copy link
Member

A new version of AsciidoctorJ with a more recent version of JRuby was released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants