Every CVE Search/ Get API key

CVE-2017-7657

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

9.8 CriticalFix 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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

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
High
Integrity
High
Availability
High

Exploit likelihood

14.4%Down 0.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
CVE-2017-7657
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-444, CWE-190
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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
CVE-2017-7657
Weakness
CWE-444
Updated
2026-11-02
EUVDEUVD-2018-0696 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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
EUVD-2018-0696
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-vgg8-72f2-qm23 9.8

Critical severity vulnerability that affects org.eclipse.jetty:jetty-server

In Eclipse Jetty, versions 9.2.x and older, 9.3.x, transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
GHSA-vgg8-72f2-qm23
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190, CWE-444
Updated
2026-11-02
OSV 9.8

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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
CVE-2017-7657
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2017-7657 9.8

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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
DEBIAN-CVE-2017-7657
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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-vgg8-72f2-qm23 9.8

Critical severity vulnerability that affects org.eclipse.jetty:jetty-server

In Eclipse Jetty, versions 9.2.x and older, 9.3.x, transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
GHSA-vgg8-72f2-qm23
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190, CWE-444
Updated
2026-11-02
OSVUBUNTU-CVE-2017-7657 9.8

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), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Record
UBUNTU-CVE-2017-7657
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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

Show 7 moreShow less

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.2.25.v20180105
9.2.25.v20180606
org.eclipse.jetty:jetty-server
Maven
9.3.0 to 9.3.23.v20180228
9.3.24.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.2.25.v20180606, 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.2.25.v20180606
org.eclipse.jetty:jetty-server
Maven
9.3.0 up to 9.3.24.v20180605, plus listed versions
9.3.0.v201506129.3.1.v201507149.3.10.M09.3.10.v201606219.3.11.M0
Show 32 moreShow less
9.3.11.v201607219.3.12.v201609159.3.13.M09.3.13.v201610149.3.14.v201610289.3.15.v201612209.3.16.v201701209.3.17.RC09.3.17.v201703179.3.18.v201704069.3.19.v201705029.3.2.v201507309.3.20.v201705319.3.21.M09.3.21.RC09.3.21.v201709189.3.22.v201710309.3.23.v201802289.3.3.v201508279.3.4.RC09.3.4.RC19.3.4.v201510079.3.5.v201510129.3.6.v201511069.3.7.RC09.3.7.RC19.3.7.v201601159.3.8.RC09.3.8.v201603149.3.9.M09.3.9.M19.3.9.v20160517
9.3.24.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-7657 is a critical vulnerability (CVSS 9.8) 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 14.4%, the 96th percentile. Fixed in org.eclipse.jetty:jetty-xml 11.0.16.

References

Show 31 moreShow less
This page doesn't list everything

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

MoveEnter Open