VDB
Sign up
MEDIUM6.1

GHSA-5h9j-q6j2-253f

Unescaped exception messages in error responses in Jetty

Quick fix

GHSA-5h9j-q6j2-253f — org.eclipse.jetty:jetty-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>9.4.24.v20191120</version> for org.eclipse.jetty:jetty-server

Details

In Eclipse Jetty versions 9.4.21.v20190926, 9.4.22.v20191022, and 9.4.23.v20191118, the generation of default unhandled Error response content (in text/html and text/json Content-Type) does not escape Exception messages in stacktraces included in error output.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.eclipse.jetty:jetty-server
Introduced in: 9.4.21.v20190926Fixed in: 9.4.24.v20191120
Fix# pom.xml: bump <version>9.4.24.v20191120</version> for org.eclipse.jetty:jetty-server
Maven/org.eclipse.jetty:jetty-server
Introduced in: 9.4.22.v20191022Fixed in: 9.4.24.v20191120
Fix# pom.xml: bump <version>9.4.24.v20191120</version> for org.eclipse.jetty:jetty-server
Maven/org.eclipse.jetty:jetty-server
Introduced in: 9.4.23.v20191118Fixed in: 9.4.24.v20191120
Fix# pom.xml: bump <version>9.4.24.v20191120</version> for org.eclipse.jetty:jetty-server

References