Vulnerabilities

20 via 61 paths

Dependencies

72

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 5
  • 13
  • 1
Status
  • 20
  • 0
  • 0

critical severity

HTTP Request Smuggling

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26 › org.eclipse.jetty:jetty-http@11.0.26

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the HTTP/1.1 parser (HttpParser.java). An attacker can inject additional HTTP requests with chunked transfer encoding with improperly terminated quoted strings.

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 12.0.33, 12.1.7 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: commons-lang:commons-lang
  • Introduced through: com.netflix.hystrix:hystrix-core@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.netflix.hystrix:hystrix-core@1.5.18 › com.netflix.archaius:archaius-core@0.4.1 › commons-configuration:commons-configuration@1.8 › commons-lang:commons-lang@2.6

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.

Remediation

There is no fixed version for commons-lang:commons-lang.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26 › org.eclipse.jetty:jetty-http@11.0.26

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the chunked request parsing of HttpParser, which accepts a lone LF, rather than CRLF, as the line terminator for chunk extensions, chunk data, and trailers. An attacker can make Jetty and an intermediary proxy interpret different request boundaries, smuggling a request past the proxy, by sending an HTTP/1.1 chunked request whose chunk or trailer terminators use a bare LF. This requires a front-end proxy that parses the chunk framing differently from Jetty, and the exact LF handling depends on the configured HTTP compliance mode.

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 12.0.38, 12.1.12 or higher.

References

high severity

Incorrect Implementation of Authentication Algorithm

  • Vulnerable module: org.eclipse.jetty:jetty-security
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26

Overview

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to lossy ISO-8859-1 encoding in the digest hash computation. An attacker can log in as a user with a non-Latin-1 password by supplying a collision password that replaces each non-ASCII character with ?, producing the same digest response hash. The vulnerable code feeds the username/password material into getBytes(StandardCharsets.ISO_8859_1) when computing the digest values, so characters above U+00FF are silently substituted before hashing. That lets an attacker authenticate successfully with a different password while the victim’s Digest-authenticated account accepts the forged response.

Remediation

Upgrade org.eclipse.jetty:jetty-security to version 9.4.63, 10.0.31, 11.0.31, 12.0.36, 12.1.10 or higher.

References

high severity
new

XML External Entity (XXE) Injection

  • Vulnerable module: org.glassfish.jaxb:jaxb-core
  • Introduced through: org.glassfish.jaxb:jaxb-runtime@4.0.9

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.jaxb:jaxb-runtime@4.0.9 › org.glassfish.jaxb:jaxb-core@4.0.9

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection in the createParserFactory and createDocumentBuilderFactory methods of the XmlFactory class, which set only XMLConstants.FEATURE_SECURE_PROCESSING on the factory and leave disallow-doctype-decl, external-general-entities, external-parameter-entities, and load-external-dtd at their defaults. An attacker can read local files out of band by submitting XML containing an external entity declaration to an application that unmarshals untrusted documents. Exploitation depends on the JAXP implementation in use, because secure processing alone does not block external entity resolution on every implementation.

Details

XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.

Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.

For example, below is a sample XML document, containing an XML element- username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
   <username>John</username>
</xml>

An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
   <!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
   <username>&xxe;</username>
</xml>

Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.

Remediation

A fix was pushed into the master branch but not yet published.

References

high severity
new

Improper Verification of Cryptographic Signature

  • Vulnerable module: io.jsonwebtoken:jjwt
  • Introduced through: io.jsonwebtoken:jjwt@0.13.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › io.jsonwebtoken:jjwt@0.13.0

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature in the parse() method of DefaultJwtParser, whose verification block is entered only when base64UrlEncodedDigest != null, so a token with a trailing dot and no third segment skips it regardless of a configured key, keyBytes, or signingKeyResolver. An attacker can authenticate as any subject by submitting an unsigned token, which is returned as a DefaultJwt with the supplied claims.

Note: Methods that require a signed JWT, like parseClaimsJws, are not vulnerable.

Remediation

There is no fixed version for io.jsonwebtoken:jjwt.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: commons-configuration:commons-configuration
  • Introduced through: com.netflix.hystrix:hystrix-core@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.netflix.hystrix:hystrix-core@1.5.18 › com.netflix.archaius:archaius-core@0.4.1 › commons-configuration:commons-configuration@1.8

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due several issues in the loading of untrusted configurations. An attacker can cause excessive resource consumption by manipulating the configuration data or introducing unexpected usage patterns. Users affected by this issue are recommended to upgrade to the 2.x version line org.apache.commons:commons-configuration2, which fixes these issues.

Note: This is only exploitable if the application is configured to load untrusted configurations.

Remediation

There is no fixed version for commons-configuration:commons-configuration.

References

medium severity
new

Improper Neutralization

  • Vulnerable module: net.minidev:json-smart
  • Introduced through: com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0

Overview

net.minidev:json-smart is a Java JSON parser.

Affected versions of this package are vulnerable to Improper Neutralization via the parseInner function in the JSONParserBase parser. An attacker can evade JSONValue.parseStrict or isValidJsonStrict by sending a valid JSON value followed by a literal 0x1A character and malformed content; parseInner mistakes the character for end-of-input and skips the trailing-data check. Applications that rely on these strict-validation methods can accept input that downstream parsers such as Jackson or Gson interpret differently.

Remediation

There is no fixed version for net.minidev:json-smart.

References

medium severity
new

Incorrect Authorization

  • Vulnerable module: org.eclipse.jetty:jetty-security
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the processing of security constraints when multiple constraints with identical http-method-omission sets and no url-patterns are present. An attacker can bypass intended security restrictions by crafting requests that exploit the improper combination of these constraints.

Remediation

Upgrade org.eclipse.jetty:jetty-security to version 9.4.65, 10.0.33, 11.0.33 or higher.

References

medium severity
new

Incorrect Authorization

  • Vulnerable module: org.eclipse.jetty:jetty-security
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the ConstraintSecurityHandler process when HTTP method constraints are defined with http-method-omission. An attacker can gain unauthorized access by crafting requests that use substrings of the defined HTTP methods, thereby bypassing intended security restrictions.

Remediation

Upgrade org.eclipse.jetty:jetty-security to version 9.4.65, 10.0.33, 11.0.33 or higher.

References

medium severity

Improper Validation of Consistency within Input

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Improper Validation of Consistency within Input through ComplianceUtils.verify(HttpURI, HttpFields, HttpCompliance, ComplianceViolation.Listener) in jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceUtils.java. An attacker can bypass host consistency checks by sending a request whose :authority pseudo-header and Host header name different hosts, causing Jetty to accept the request and expose conflicting host identities to different code paths. This lets attacker-controlled host information survive inside the request, so logic that relies on Request.getServerName() or the URI authority can see one host while code reading the raw Host header sees another. In deployments that use host-based routing, ACLs, redirects, or tenant isolation, this can lead to incorrect request handling, host-based access control bypass, and attacker-influenced URL generation or logging.

Notes

  • HTTP/1.1 already had its own authority/Host consistency path in HttpConnection/HttpChannelState; the gap was in the HTTP/2 and HTTP/3 server entry flow where the shared compliance check was invoked before that comparison happened.
  • The mismatch check only rejects when both values are present and differ after normalizing case and default ports, so requests with only one of :authority or Host present are not part of this issue.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 9.4.61, 10.0.29, 11.0.29, 12.0.35, 12.1.9 or higher.

References

medium severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: org.ow2.asm:asm
  • Introduced through: org.glassfish.hk2:hk2@3.1.1 and com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0 › net.minidev:accessors-smart@2.6.0 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the computeAllFrames method in MethodWriter. An attacker can exhaust CPU and tie up class-file transformation threads for an unbounded time by supplying crafted class files for processing with ClassWriter.COMPUTE_FRAMES; their methods make frame computation’s fixpoint algorithm converge slowly.

Remediation

Upgrade org.ow2.asm:asm to version 9.11 or higher.

References

medium severity
new

Inefficient Algorithmic Complexity

  • Vulnerable module: org.ow2.asm:asm
  • Introduced through: org.glassfish.hk2:hk2@3.1.1 and com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0 › net.minidev:accessors-smart@2.6.0 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the computeAllFrames() and computeMaxStackAndLocal() methods in MethodWriter. When ASM processes a crafted class file with thousands of overlapping exception handlers using COMPUTE_FRAMES or COMPUTE_MAXS, it allocates excessive Edge objects, causing an OutOfMemoryError that crashes the JVM.

Remediation

Upgrade org.ow2.asm:asm to version 9.11 or higher.

References

medium severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: org.ow2.asm:asm
  • Introduced through: org.glassfish.hk2:hk2@3.1.1 and com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0 › net.minidev:accessors-smart@2.6.0 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via readBootstrapMethodsAttribute() in ClassReader. When an application parses an attacker-supplied class file, a crafted BootstrapMethods attribute with an unchecked declared length can trigger an allocation of roughly 2 GB from a file of about 100 bytes, causing an OutOfMemoryError that crashes the JVM or the thread processing the class.

Remediation

Upgrade org.ow2.asm:asm to version 9.11 or higher.

References

medium severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: org.ow2.asm:asm
  • Introduced through: org.glassfish.hk2:hk2@3.1.1 and com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0 › net.minidev:accessors-smart@2.6.0 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the addSubroutineRetSuccessors() method in the Label class. An attacker can crash the JVM by supplying a crafted invalid class file with multiple RET instructions for one JSR while ASM processes the subroutine.

Notes

  • The attacker must get a user to load or process the crafted class file.

Remediation

Upgrade org.ow2.asm:asm to version 9.11 or higher.

References

medium severity
new

Uncontrolled Recursion

  • Vulnerable module: org.ow2.asm:asm
  • Introduced through: org.glassfish.hk2:hk2@3.1.1 and com.jayway.jsonpath:json-path@2.10.0

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › com.jayway.jsonpath:json-path@2.10.0 › net.minidev:json-smart@2.6.0 › net.minidev:accessors-smart@2.6.0 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-commons@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.hk2:hk2@3.1.1 › org.glassfish.hk2:class-model@3.1.1 › org.ow2.asm:asm-util@9.7 › org.ow2.asm:asm-analysis@9.7 › org.ow2.asm:asm-tree@9.7 › org.ow2.asm:asm@9.7

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the parseType method in SignatureReader. An attacker can trigger a StackOverflowError and disrupt class transformation by supplying a crafted class file with a Signature attribute containing deeply nested generic type arguments.

Remediation

Upgrade org.ow2.asm:asm to version 9.11 or higher.

References

medium severity

Improper Validation of Syntactic Correctness of Input

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26 › org.eclipse.jetty:jetty-http@11.0.26

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input via the HttpURI class due to insufficient validation on the authority segment of a URI. An attacker can manipulate the URI parsing to redirect requests or initiate server-side requests to unintended destinations by supplying malformed URIs that bypass validation checks.

Notes:

  1. This is only exploitable if the application uses decoded user data as encoded URIs in conjunction with the HttpURI class used directly;

  2. The Jetty usage of the HttpURI class is not vulnerable.

Workaround

This vulnerability can be mitigated by not passing decoded user data as encoded URIs to any URI class/method, including HttpURI.

PoC

http://browser.check &@vulndetector.com/
http://browser.check #@vulndetector.com/
http://browser.check?@vulndetector.com/
http://browser.check#@vulndetector.com/
http://vulndetector.com\\/

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 9.4.57.v20241219, 12.0.12 or higher.

References

medium severity

Improper Validation of Syntactic Correctness of Input

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input via the HttpURI class due to insufficient validation on the authority segment of a URI. An attacker can manipulate the URI parsing to redirect requests or initiate server-side requests to unintended destinations by supplying malformed URIs that bypass validation checks.

Notes:

  1. This is only exploitable if the application uses decoded user data as encoded URIs in conjunction with the HttpURI class used directly;

  2. The Jetty usage of the HttpURI class is not vulnerable.

Workaround

This vulnerability can be mitigated by not passing decoded user data as encoded URIs to any URI class/method, including HttpURI.

PoC

http://browser.check &@vulndetector.com/
http://browser.check #@vulndetector.com/
http://browser.check?@vulndetector.com/
http://browser.check#@vulndetector.com/
http://vulndetector.com\\/

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 9.4.57.v20241219, 12.0.12 or higher.

References

medium severity

Interpretation Conflict

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.eclipse.jetty:jetty-servlet@11.0.26 › org.eclipse.jetty:jetty-security@11.0.26 › org.eclipse.jetty:jetty-server@11.0.26

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Interpretation Conflict due to inconsistent handling of invalid or unusual URIs in the parse() function on HttpURI.java‎. An attacker can bypass security controls or access restricted resources by crafting specially formatted URIs that are interpreted differently by various system components.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 12.0.31, 12.1.5 or higher.

References

low severity
new

Improper Validation of Specified Type of Input

  • Vulnerable module: jakarta.validation:jakarta.validation-api
  • Introduced through: org.glassfish.jersey.core:jersey-server@3.1.12 and org.glassfish.jersey.ext:jersey-mvc-freemarker@3.1.12

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.jersey.core:jersey-server@3.1.12 › jakarta.validation:jakarta.validation-api@3.0.2
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service › org.glassfish.jersey.ext:jersey-mvc-freemarker@3.1.12 › org.glassfish.jersey.ext:jersey-mvc@3.1.12 › org.glassfish.jersey.core:jersey-server@3.1.12 › jakarta.validation:jakarta.validation-api@3.0.2

Overview

Affected versions of this package are vulnerable to Improper Validation of Specified Type of Input in the run method of the ProviderSpecificBootstrapImpl class in Validation.java, which passes a caller influenced action to the single argument form of AccessController.doPrivileged, dropping the calling thread's restricted ProtectionDomain from the access control stack. Code running in a restricted domain can execute an arbitrary class's no-arg constructor under the library's broader permissions by passing any Class object to Validation.byProvider through a raw or unchecked cast, since the generic bound is erased and NewProviderInstance.run reaches clazz.newInstance before the cast to ValidationProvider is attempted. Exploitation requires a JVM running with a SecurityManager, a code source for the library granted more permissions than the caller, the ability to run code in process, and a reachable class in a privileged domain whose public no-arg constructor performs a security checked side effect, and the gadget's own ProtectionDomain stays on the stack so a self defined class yields nothing.

Note: Only deployments on JDK releases before 24 are affected. The run helper elevates privilege only when System.getSecurityManager() returns non-null, and JEP 486 permanently disabled the Security Manager in JDK 24.

Remediation

Upgrade jakarta.validation:jakarta.validation-api to version 4.0.0-M1 or higher.

References