Every CVE Search/ Get API key

CVE-2017-7656

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

7.5 HighFix available

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

6.11%Up 3.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
CVE-2017-7656
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-444
Updated
2026-11-02
CVE List No score

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
CVE-2017-7656
Weakness
CWE-444
Updated
2026-11-02
EUVDEUVD-2018-0544 No score

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
EUVD-2018-0544
Updated
2026-11-03
GitHub AdvisoriesGHSA-58qw-p7qm-5rvh 3.9

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

From the reporter

XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml.

Impact

There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation.

Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as a direct usage of the JVM supplied SAX parser. No CVE will be allocated to this advisory.

However, any direct usage of the XmlParser class by an application may be vulnerable. The impact would greatly depend on how the application uses XmlParser, but it could be a denial of service due to large entity expansion, or possibly the revealing local files if the XML results are accessible remotely.

Patches

Ability to configure the SAXParserFactory to fit the needs of your particular XML parser implementation have been merged as part of PR #10067

Workarounds

Don't use Jetty's XmlParser to parse data from users.

Record
GHSA-58qw-p7qm-5rvh
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02
GitHub AdvisoriesGHSA-84q7-p226-4x5w 7.5

Jetty vulnerable to cache poisoning due to inconsistent HTTP request handling (HTTP Request Smuggling)

Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), contain an HTTP Request Smuggling Vulnerability that can result in cache poisoning.

Record
GHSA-84q7-p226-4x5w
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-444
Updated
2026-11-02
OSV 7.5

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
CVE-2017-7656
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-7656 7.5

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
DEBIAN-CVE-2017-7656
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-58qw-p7qm-5rvh 3.9

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

From the reporter

XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml.

Impact

There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation.

Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as a direct usage of the JVM supplied SAX parser. No CVE will be allocated to this advisory.

However, any direct usage of the XmlParser class by an application may be vulnerable. The impact would greatly depend on how the application uses XmlParser, but it could be a denial of service due to large entity expansion, or possibly the revealing local files if the XML results are accessible remotely.

Patches

Ability to configure the SAXParserFactory to fit the needs of your particular XML parser implementation have been merged as part of PR #10067

Workarounds

Don't use Jetty's XmlParser to parse data from users.

Record
GHSA-58qw-p7qm-5rvh
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02
OSVGHSA-84q7-p226-4x5w 7.5

Jetty vulnerable to cache poisoning due to inconsistent HTTP request handling (HTTP Request Smuggling)

Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), contain an HTTP Request Smuggling Vulnerability that can result in cache poisoning.

Record
GHSA-84q7-p226-4x5w
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-444
Updated
2026-11-02
OSVUBUNTU-CVE-2017-7656 7.5

In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), HTTP/0.9 is handled poorly. An HTTP/1 style request line (i.e. method space URI space version) that declares a version of HTTP/0.9 was accepted and treated as a 0.9 request. If deployed behind an intermediary that also accepted and passed through the 0.9 version (but did not act on it), then the response sent could be interpreted by the intermediary as HTTP/1 headers. This could be used to poison the cache if the server allowed the origin client to generate arbitrary content in the response.

Record
UBUNTU-CVE-2017-7656
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVCLSA-2026-1775003156 No score

TuxCare security update for org.eclipse.jetty (6 CVEs)

TuxCare rebuilt 2 org.eclipse.jetty packages to address 6 CVEs. Fixed in 8.2.0.v20160908-tuxcare.2.

Record
CLSA-2026-1775003156
Updated
2026-11-02
OSVCLSA-2026-1778201084 No score

TuxCare security update for org.eclipse.jetty (6 CVEs)

TuxCare rebuilt 2 org.eclipse.jetty packages to address 6 CVEs. Fixed in 7.6.0.v20120127-tuxcare.1.

Record
CLSA-2026-1778201084
Updated
2026-11-02
OSVCLSA-2026-1780361408 No score

TuxCare security update for org.eclipse.jetty (12 CVEs)

TuxCare rebuilt 4 org.eclipse.jetty packages to address 12 CVEs. Fixed in 9.2.16.v20160414-tuxcare.1.

Record
CLSA-2026-1780361408
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.eclipse.jetty:jetty-xml
Maven
11.0.0-alpha0 to 11.0.15
11.0.16
org.eclipse.jetty:jetty-xml
Maven
10.0.0-alpha0 to 10.0.15
10.0.16
org.eclipse.jetty:jetty-xml
Maven
12.0.0.alpha0 to 12.0.0.beta4
12.0.0
org.eclipse.jetty:jetty-xml
Maven
through 9.4.51
9.4.52.v20230823
org.eclipse.jetty:jetty-server
Maven
through 9.3.23.v20180228
9.3.24.v20180605
org.eclipse.jetty:jetty-server
Maven
9.4.0 to 9.4.10.v20180503
9.4.11.v20180605
org.eclipse.jetty:jetty-server
TuxCare:Maven
8.2.0.v20160908 up to 8.2.0.v20160908-tuxcare.2, plus listed versions
8.2.0.v20160908-tuxcare.1
8.2.0.v20160908-tuxcare.2
org.eclipse.jetty:jetty-servlets
TuxCare:Maven
8.2.0.v20160908 up to 8.2.0.v20160908-tuxcare.2, plus listed versions
8.2.0.v20160908-tuxcare.1
8.2.0.v20160908-tuxcare.2
org.eclipse.jetty:jetty-server
TuxCare:Maven
7.6.0.v20120127 up to 7.6.0.v20120127-tuxcare.1
7.6.0.v20120127-tuxcare.1
org.eclipse.jetty:jetty-servlets
TuxCare:Maven
7.6.0.v20120127 up to 7.6.0.v20120127-tuxcare.1
7.6.0.v20120127-tuxcare.1
Show 18 moreShow less
Affected packages
PackageAffectedFixed
org.eclipse.jetty:jetty-server
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
org.eclipse.jetty:jetty-servlets
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
org.eclipse.jetty:jetty-webapp
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
org.eclipse.jetty:jetty-xml
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
jetty9
Debian:12
before 9.2.25-1
9.2.25-1
jetty9
Debian:13
before 9.2.25-1
9.2.25-1
jetty9
Debian:14
before 9.2.25-1
9.2.25-1
jetty9
Debian:9
before 9.2.21-1+deb9u1, plus listed versions
9.2.21-1
9.2.21-1+deb9u1
org.eclipse.jetty:jetty-xml
Maven
10.0.0-alpha0 up to 10.0.16, plus listed versions
10.0.010.0.0.alpha110.0.0.alpha210.0.0.beta010.0.0.beta1
Show 17 moreShow less
10.0.0.beta210.0.0.beta310.0.110.0.1010.0.1110.0.1210.0.1310.0.1410.0.1510.0.210.0.310.0.410.0.510.0.610.0.710.0.810.0.9
10.0.16
org.eclipse.jetty:jetty-xml
Maven
11.0.0-alpha0 up to 11.0.16, plus listed versions
11.0.011.0.0.beta111.0.0.beta211.0.0.beta311.0.1
Show 14 moreShow less
11.0.1011.0.1111.0.1211.0.1311.0.1411.0.1511.0.211.0.311.0.411.0.511.0.611.0.711.0.811.0.9
11.0.16
org.eclipse.jetty:jetty-xml
Maven
12.0.0.alpha0 up to 12.0.0, plus listed versions
12.0.0.alpha112.0.0.alpha212.0.0.alpha312.0.0.beta012.0.0.beta112.0.0.beta212.0.0.beta312.0.0.beta4
12.0.0
org.eclipse.jetty:jetty-xml
Maven
before 9.4.52.v20230823, plus listed versions
7.0.0.M07.0.0.M17.0.0.M27.0.0.M37.0.0.M4
Show 45 moreShow less
7.0.0.RC07.0.0.RC17.0.0.RC27.0.0.RC37.0.0.RC47.0.0.RC57.0.0.RC67.0.0.v200910057.0.1.v200911257.0.2.RC07.0.2.v201003317.1.0.RC07.1.0.RC17.1.0.v201005057.1.1.v201005177.1.2.v201005237.1.3.v201005267.1.4.v201006107.1.5.v201007057.1.6.v201007157.2.0.RC07.2.0.v201010207.2.1.v201011117.2.2.v201012057.3.0.v201102037.3.1.v201103077.4.0.RC07.4.0.v201104147.4.1.v201105137.4.2.v201105267.4.3.v201107017.4.4.v201107077.4.5.v201107257.5.0.RC07.5.0.RC17.5.0.RC27.5.0.v201109017.5.1.v201109087.5.2.v201110067.5.3.v201110117.5.4.v201110247.6.0.RC07.6.0.RC17.6.0.RC27.6.0.RC3
9.4.52.v20230823
org.eclipse.jetty:jetty-server
Maven
before 9.3.24.v20180605, plus listed versions
7.0.0.M07.0.0.M17.0.0.M27.0.0.M37.0.0.M4
Show 45 moreShow less
7.0.0.RC07.0.0.RC17.0.0.RC27.0.0.RC37.0.0.RC47.0.0.RC57.0.0.RC67.0.0.v200910057.0.1.v200911257.0.2.RC07.0.2.v201003317.1.0.RC07.1.0.RC17.1.0.v201005057.1.1.v201005177.1.2.v201005237.1.3.v201005267.1.4.v201006107.1.5.v201007057.1.6.v201007157.2.0.RC07.2.0.v201010207.2.1.v201011117.2.2.v201012057.3.0.v201102037.3.1.v201103077.4.0.RC07.4.0.v201104147.4.1.v201105137.4.2.v201105267.4.3.v201107017.4.4.v201107077.4.5.v201107257.5.0.RC07.5.0.RC17.5.0.RC27.5.0.v201109017.5.1.v201109087.5.2.v201110067.5.3.v201110117.5.4.v201110247.6.0.RC07.6.0.RC17.6.0.RC27.6.0.RC3
9.3.24.v20180605
org.eclipse.jetty:jetty-server
Maven
9.4.0 up to 9.4.11.v20180605, plus listed versions
9.4.0.v201612089.4.0.v201806199.4.1.v201701209.4.1.v201806199.4.10.RC0
Show 18 moreShow less
9.4.10.RC19.4.10.v201805039.4.2.v201702209.4.2.v201806199.4.3.v201703179.4.3.v201806199.4.4.v201704149.4.4.v201806199.4.5.v201705029.4.5.v201806199.4.6.v201705319.4.6.v201806199.4.7.RC09.4.7.v201709149.4.7.v201806199.4.8.v201711219.4.8.v201806199.4.9.v20180320
9.4.11.v20180605
jetty8
Ubuntu:14.04:LTS
All versions, plus listed versions
8.1.3-88.1.3-9
None known
jetty8
Ubuntu:16.04:LTS
All versions, plus listed versions
8.1.17-28.1.18-18.1.18-28.1.18-38.1.19-1
None known
jetty9
Ubuntu:16.04:LTS
All versions, plus listed versions
9.2.14-1
None known
jetty9
Ubuntu:18.04:LTS
All versions, plus listed versions
9.2.22-29.2.22-39.2.23-19.4.15-1~18.04.1ubuntu1
None known

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-7656 is a high vulnerability (CVSS 7.5) in Eclipse Jetty, published June 26, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.11%, the 93rd percentile. Fixed in org.eclipse.jetty:jetty-xml 11.0.16.

References

Show 24 moreShow less
This page doesn't list everything

Left out here: 418 versions. The JSON record has them.

MoveEnter Open