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

CVE-2022-42889 @ Maven-org.apache.commons:commons-text-1.6 #233

Closed
cxronen opened this issue Oct 27, 2022 · 0 comments
Closed

CVE-2022-42889 @ Maven-org.apache.commons:commons-text-1.6 #233

cxronen opened this issue Oct 27, 2022 · 0 comments

Comments

@cxronen
Copy link
Owner

cxronen commented Oct 27, 2022

Vulnerable Package issue exists @ Maven-org.apache.commons:commons-text-1.6 in branch master

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of "org.apache.commons.text.lookup.StringLookup" that performs the interpolation. In versions 1.5 through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.

Namespace: cxronen
Repository: BookStore_VSCode
Repository Url: https://github.com/cxronen/BookStore_VSCode
CxAST-Project: cxronen/BookStore_VSCode
CxAST platform scan: 4ac4da5a-0ce1-4c67-8015-eaa5b7b82736
Branch: master
Application: BookStore_VSCode
Severity: HIGH
State: NOT_IGNORED
Status: RECURRENT
CWE: CWE-94


Additional Info
Attack vector: NETWORK
Attack complexity: LOW
Confidentiality impact: HIGH
Availability impact: HIGH
Remediation Upgrade Recommendation: 1.10.0


References
Advisory
Commit
Pull request
Issue
POC/Exploit

@cxronen cxronen closed this as completed Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant