Giter VIP home page Giter VIP logo

swedish-eid-opensaml's People

Contributors

dependabot[bot] avatar martin-lindstrom avatar snyk-bot avatar

Watchers

 avatar  avatar

swedish-eid-opensaml's Issues

Act on Snyk report

Snyk reports the following vulnerabilities:

HIGH SEVERITY

Arbitrary Code Execution
Vulnerable module: commons-collections:commons-collections
Introduced through: org.opensaml:[email protected]

Elliptic Curve Key Disclosure
Vulnerable module: com.nimbusds:nimbus-jose-jwt
Introduced through: com.nimbusds:[email protected]

Invalid Elliptic Curve Attack
Vulnerable module: com.nimbusds:nimbus-jose-jwt
Introduced through: com.nimbusds:[email protected]

Unexpected Code Execution
Vulnerable module: org.bouncycastle:bcprov-jdk15on
Introduced through: se.litsec.opensaml:[email protected], org.opensaml:[email protected] and others

MEDIUM SEVERITY

Deserialization of Untrusted Data
Vulnerable module: com.google.guava:guava
Introduced through: se.litsec.opensaml:[email protected] and net.shibboleth.utilities:[email protected]

Insecure Encryption
Vulnerable module: org.bouncycastle:bcprov-jdk15on
Introduced through: se.litsec.opensaml:[email protected], org.opensaml:[email protected] and others

Provide SwedishEidSecurityConfigurationBootstrap for Swedish eID Framework algorithm defaults

OpenSAML provides the class org.opensaml.xmlsec.config.impl.DefaultSecurityConfigurationBootstrap which contains the OpenSAML-defaults for crypto algorithms. These defaults differ slightly with the algorithms suggested in SAML2Int (https://kantarainitiative.github.io/SAMLprofiles/saml2int.html) and the ones defined within the Swedish eID Framework (not published yet).

We should introduce a SwedishEidSecurityConfigurationBootstrap class corresponding to the OpenSAML class but with the Swedish eID-settings.

Extend SignMessageFactory with information about preferred encryption algorithm

The encrypt method of the se.litsec.swedisheid.opensaml.saml2.signservice.SignMessageFactory class should be extended so that it also accepts a list of md:EncryptionMethod elements found in the peer's metadata entry (or rather, a new encrypt-method should be introduced and the old one should be deprecated).

As it is now, we hardwire the algorithms used (both for the key encryption and the data encryption).

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.