Skip to content

Conversation

@dependabot-preview
Copy link

Bumps netty.version from 4.1.22.Final to 4.1.64.Final.
Updates netty-codec-http from 4.1.22.Final to 4.1.64.Final This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Local Information Disclosure Vulnerability in Netty on Unix-Like systems due temporary files

Impact

When netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled.

The CVSSv3.1 score of this vulnerability is calculated to be a 6.2/10

Vulnerability Details

On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems.

The method File.createTempFile on unix-like systems creates a random file, but, by default will create this file with the permissions -rw-r--r--. Thus, if sensitive information is written to this file, other local users can read this information.

This is the case in netty's AbstractDiskHttpData is vulnerable.

https://github.com/netty/netty/blob/e5951d46fc89db507ba7d2968d2ede26378f0b04/codec-http/src/main/java/io/netty/handler/codec/http/multipart/AbstractDiskHttpData.java#L80-L101

AbstractDiskHttpData is used as a part of the DefaultHttpDataFactory class which is used by HttpPostRequestDecoder / HttpPostMultiPartRequestDecoder.

You may be affected by this vulnerability your project contains the following code patterns:

... (truncated)

Affected versions: < 4.1.59

Commits
  • 67bedf0 [maven-release-plugin] prepare release netty-4.1.64.Final
  • c226426 Add script to copy apidocs and xref to netty-website
  • 060889d Fix another typo in the release workflow
  • 9ca4e21 Fix typo in release workflow
  • 78050c5 Don't create a new ParserImpl on each parser() call (#11255)
  • 265b2ea Fix typo in DnsCodecUtil class (#11252)
  • fa8f7a3 Add DefaultHostsFileEntriesResolver#addresses to provide all hosts file's ent...
  • 11e6a77 Change asterisk to 'x' in FQDN of SelfSignedCertificate (#11245)
  • c443bc4 Use MAVEN_OPTS to setup timeouts for dependency downloads (#11250)
  • d0b7f76 Use tasks by default when using openssl based SSL provider (#11242)
  • Additional commits viewable in compare view

Updates netty-handler from 4.1.22.Final to 4.1.64.Final This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Denial of Service in Netty The ZlibDecoders in Netty 4.1.x before 4.1.46 allow for unbounded memory allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.

Affected versions: >= 4.1.0, < 4.1.46

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects io.netty:netty-handler HttpObjectDecoder.java in Netty before 4.1.44 allows a Content-Length header to be accompanied by a second Content-Length header, or by a Transfer-Encoding header.

Affected versions: < 4.1.45

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects io.netty:netty-handler HttpObjectDecoder.java in Netty before 4.1.44 allows an HTTP header that lacks a colon, which might be interpreted as a separate header with an incorrect syntax, or might be interpreted as an "invalid fold."

Affected versions: < 4.1.44

Commits
  • 67bedf0 [maven-release-plugin] prepare release netty-4.1.64.Final
  • c226426 Add script to copy apidocs and xref to netty-website
  • 060889d Fix another typo in the release workflow
  • 9ca4e21 Fix typo in release workflow
  • 78050c5 Don't create a new ParserImpl on each parser() call (#11255)
  • 265b2ea Fix typo in DnsCodecUtil class (#11252)
  • fa8f7a3 Add DefaultHostsFileEntriesResolver#addresses to provide all hosts file's ent...
  • 11e6a77 Change asterisk to 'x' in FQDN of SelfSignedCertificate (#11245)
  • c443bc4 Use MAVEN_OPTS to setup timeouts for dependency downloads (#11250)
  • d0b7f76 Use tasks by default when using openssl based SSL provider (#11242)
  • Additional commits viewable in compare view

Updates netty-transport from 4.1.22.Final to 4.1.64.Final

Commits
  • 67bedf0 [maven-release-plugin] prepare release netty-4.1.64.Final
  • c226426 Add script to copy apidocs and xref to netty-website
  • 060889d Fix another typo in the release workflow
  • 9ca4e21 Fix typo in release workflow
  • 78050c5 Don't create a new ParserImpl on each parser() call (#11255)
  • 265b2ea Fix typo in DnsCodecUtil class (#11252)
  • fa8f7a3 Add DefaultHostsFileEntriesResolver#addresses to provide all hosts file's ent...
  • 11e6a77 Change asterisk to 'x' in FQDN of SelfSignedCertificate (#11245)
  • c443bc4 Use MAVEN_OPTS to setup timeouts for dependency downloads (#11250)
  • d0b7f76 Use tasks by default when using openssl based SSL provider (#11242)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `netty.version` from 4.1.22.Final to 4.1.64.Final.

Updates `netty-codec-http` from 4.1.22.Final to 4.1.64.Final
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](netty/netty@netty-4.1.22.Final...netty-4.1.64.Final)

Updates `netty-handler` from 4.1.22.Final to 4.1.64.Final
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](netty/netty@netty-4.1.22.Final...netty-4.1.64.Final)

Updates `netty-transport` from 4.1.22.Final to 4.1.64.Final
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](netty/netty@netty-4.1.22.Final...netty-4.1.64.Final)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels May 18, 2021
@dependabot-preview
Copy link
Author

Superseded by #76.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/netty.version-4.1.64.Final branch May 20, 2021 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant