Giter Site home page Giter Site logo

Comments (8)

aminadinari19 avatar aminadinari19 commented on July 21, 2024 5

Hi! There is a new version of snakeyaml (2.0) which seems to be free of vulnerabilities. Do you plan to upgrade to that?

from uap-java.

thomasdarimont avatar thomasdarimont commented on July 21, 2024 1

How about simply removing the dependency to snakeyaml?

The regex format file regexes.yaml is quite simple and could be parsed by a small handwritten parser that just turns the yaml into a ``Map<String,List<Map<String,String>>>`

from uap-java.

jmini avatar jmini commented on July 21, 2024 1

I think it is even better to remove the need to have any YAML parsing at runtime.

So I have opened a PR for that: #83

from uap-java.

NAJ10 avatar NAJ10 commented on July 21, 2024

This will also address #68

from uap-java.

bpossolo avatar bpossolo commented on July 21, 2024

At first I was hoping the snakeyaml maintainers would address the issue in their library but I read through their issue/conversation and, apparently, it's very controversial...

I'll check out snakeyaml-engine and see how complicated it is to swap over.

from uap-java.

bpossolo avatar bpossolo commented on July 21, 2024

I'd prefer to avoid writing a custom yaml parser

from uap-java.

jmini avatar jmini commented on July 21, 2024

I have opened a PR to update to version 2.0 of the regular snakeyaml: #82

I agree with the discussion here, snakeyaml-engine might be a good fit for this library:
https://bitbucket.org/snakeyaml/snakeyaml-engine/wiki/Home

from uap-java.

bpossolo avatar bpossolo commented on July 21, 2024

I'm pleased to announce version 1.6.1 has been released to Maven Central and the security vulnerability has been addressed.

see here for what's changed
https://github.com/ua-parser/uap-java/releases/tag/v1.6.1

from uap-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.