Techini / vulnado

Purposely vulnerable Java application to help lead secure coding workshops
Apache License 2.0
0 stars 0 forks source link

Bump jjwt-impl from 0.10.5 to 0.11.1 #25

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps jjwt-impl from 0.10.5 to 0.11.1.

Changelog

Sourced from jjwt-impl's changelog.

0.11.1

This patch release:

  • Upgrades the jjwt-jackson module's Jackson dependency to 2.9.10.3.
  • Fixes an issue when using Java 9+ Map.of with JacksonDeserializer that resulted in an NullPointerException.
  • Fixes an issue that prevented the jjwt-gson .jar's seralizer/deserializer implementation from being detected automatically.
  • Ensures service implementations are now loaded from the context class loader, Services.class.classLoader, and the system classloader, the first classloader with a service wins, and the others are ignored. This mimics how Classes.forName() works, and how JJWT attempted to auto-discover various implementations in previous versions.
  • Fixes a minor error in the Claims#getIssuedAt JavaDoc.

0.11.0

This minor release:

  • Adds Google's Gson as a natively supported JSON parser. Installation instructions have been updated and new JJWT Gson usage guidelines have been added.

  • Updates the Jackson dependency version to 2.9.10 to address three security vulnerabilities in Jackson.

  • A new JwtParserBuilder interface has been added and is the recommended way of creating an immutable and thread-safe JwtParser instance. Mutable methods in JwtParser will be removed before v1.0. Migration to the new signatures is straightforward, for example:

    Previous Version:

     Jwts.parser()
         .requireAudience("string")
         .parse(jwtString)
    

    Current Version:

    Jwts.parserBuilder()
        .requireAudience("string")
        .build()
        .parse(jwtString)
    
  • Adds io.jsonwebtoken.lang.Maps utility class to make creation of maps fluent, as demonstrated next.

  • Adds support for custom types when deserializing with Jackson. To use configure your parser:

    Jwts.parserBuilder().deserializeJsonWith(
        new JacksonDeserializer(
            Maps.of("claimName", YourType.class).build() // <--
        )
    ).build()
    
  • Moves JSON Serializer/Deserializer implementations to a different package name.

    • io.jsonwebtoken.io.JacksonSerializer -> io.jsonwebtoken.jackson.io.JacksonSerializer
    • io.jsonwebtoken.io.JacksonDeserializer -> io.jsonwebtoken.jackson.io.JacksonDeserializer
    • io.jsonwebtoken.io.OrgJsonSerializer -> io.jsonwebtoken.orgjson.io.OrgJsonSerializer
    • io.jsonwebtoken.io.OrgJsonDeserializer -> io.jsonwebtoken.orgjson.io.OrgJsonDeserializer

    A backward compatibility modules has been created using the deprecated classifier (io.jsonwebtoken:jjwt-jackson:0.11.0:deprecated and io.jsonwebtoken:jjwt-orjson:0.11.0:deprecated), if you are compiling against these classes directly, otherwise you will be unaffected.

... (truncated)
Commits
  • c09deaa [maven-release-plugin] prepare release 0.11.1
  • c563365 Prepping for the 0.11.0 --> 0.11.1 release
  • f22a0e9 Prepping for the 0.11.0 --> 0.11.1 release
  • 2349d4d Upgraded Jackson dependency to 2.9.10.3. Resolves #567. (#576)
  • 6565bdc Minor JavaDoc fix and changelog updates. Fixes #535 (#575)
  • 9e65ab7 Services now checks the contextClassLoader, Services.class.classLoader, and t...
  • 111633f Gson Serializer/Deserializer are now correctly registered service when found ...
  • 0fd59ef Bump jackson-databind from 2.9.10.1 to 2.9.10.3
  • e115085 Allow JacksonDeserializer to work with Java 9+ Map.of
  • 09637f1 Fixing version references for the 0.11.0 release.
  • Additional commits viewable in compare view


Dependabot compatibility score

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](https://app.dependabot.com): - 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)
sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot-preview[bot] commented 4 years ago

Superseded by #35.