GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Using a component with Known Vulnerability Jackson Deserialize RCE (CVE-2017-7525) · Issue #463 · msgpack/msgpack-java

Using a component with Known Vulnerability Jackson Deserialize RCE (CVE-2017-7525) #463

New issue
Copy link
New issue
Copy link
Closed
Closed
Using a component with Known Vulnerability Jackson Deserialize RCE (CVE-2017-7525)#463
Copy link

Description

@ajinabraham
ajinabraham
opened on Feb 20, 2018
Issue body actions

As per the file: https://github.com/msgpack/msgpack-java/blob/develop/build.sbt#L118
It looks like msgpack-java is using jackson-databind 2.7.1 which has a known security vulnerability CVE-2017-7525.
Ref: FasterXML/jackson-databind#1599
Exploit: https://adamcaudill.com/2017/10/04/exploiting-jackson-rce-cve-2017-7525/
The issue is fixed in 2.8.10. Please update the library.

Activity

  1. komamitsu
    closed this as completedin #464on Feb 20, 2018
  2. komamitsu commented on Feb 20, 2018

    @komamitsu
    komamitsu
    on Feb 20, 2018
    Member
    More actions

    @ajinabraham Thanks for letting us know that.

    jackson-databind 2.8.10 affects the serialization performance of jackson-dataformat-msgpack. So we chose 2.7.9.1 instead which addresses the security vulnerability as well.

  3. ajinabraham commented on Feb 20, 2018

    @ajinabraham
    ajinabraham
    on Feb 20, 2018
    Author
    More actions

    @komamitsu Are you sure this is completely patched in 2.7.9.1.

    The author says the fix is included in 2.7.9.3 and 2.7.9.2 but not in 2.7.9.1
    FasterXML/jackson-databind#1855 (comment)

    I couldn't find the complete fix in 2.7.9.1 as well. You can verify this by looking for https://github.com/FasterXML/jackson-databind/blob/2.9/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java in the corresponding branch or release.

    I also saw few bypass gadgets addressed here and fixed only in 2.8 and 2.9 branches.
    FasterXML/jackson-databind#1899 (comment)

  4. komamitsu commented on Feb 20, 2018

    @komamitsu
    komamitsu
    on Feb 20, 2018
    Member
    More actions

    Hmm.. I saw this comment FasterXML/jackson-databind#1599 (comment).

    But FasterXML/jackson-databind#1855 and FasterXML/jackson-databind#1899 were created after that. It's like whack-a-mole...

    Okay. I'll look into it again tomorrow.

  5. komamitsu
    reopened this on Feb 20, 2018
  6. ajinabraham commented on Feb 20, 2018

    @ajinabraham
    ajinabraham
    on Feb 20, 2018
    Author
    More actions

    I agree, blacklist is not the right way. But it offers some level of defence. Again it's a security vs performance decision. Your call. :)

  7. komamitsu
    closed this as completedin #467on Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.