org.jboss.resteasy:resteasy-core-spi@7.0.0.Alpha2

  • latest version

    7.0.5.Final

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    5 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.jboss.resteasy:resteasy-core-spi package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Origin Validation Error

    org.jboss.resteasy:resteasy-core-spi is a JBoss.org project aimed at providing productivity frameworks for developing client and server RESTful applications and services in Java.

    Affected versions of this package are vulnerable to Origin Validation Error via the response and preflight handling in org.jboss.resteasy.plugins.interceptors.CorsFilter. An attacker can read authenticated cross-origin responses by sending requests from a malicious origin when allowedOrigins contains "*" and the filter reflects that concrete Origin back with Access-Control-Allow-Credentials: true. The vulnerable code accepts any origin under the wildcard configuration and emits Access-Control-Allow-Origin for the request origin rather than a literal wildcard, while also allowing credentials. In a browser, that lets an attacker-controlled site use the victim’s session to fetch and exfiltrate per-user data exposed by REST endpoints.

    How to fix Origin Validation Error?

    Upgrade org.jboss.resteasy:resteasy-core-spi to version 6.2.19.Final, 7.0.5.Final or higher.

    [,6.2.19.Final)[7.0.0.Alpha1,7.0.5.Final)