Giter VIP home page Giter VIP logo

esapi-java's People

Contributors

kwwall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esapi-java's Issues

CVE-2023-26119(9.8) on neko-htmlunit-2.66.0.jar dependency

Starting at around 10.Apr.2023, the following started to fail on the Java project:

[ERROR] One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '8.0': 
[ERROR] 
[ERROR] neko-htmlunit-2.66.0.jar: CVE-2023-26119(9.8)

This dependency comes from the latest esapi.jar

+- org.owasp.esapi:esapi:jar:2.5.1.0:compile
|  +- xom:xom:jar:1.3.8:compile
|  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
|  |  +- commons-logging:commons-logging:jar:1.2:compile
|  |  \- commons-collections:commons-collections:jar:3.2.2:compile
|  +- commons-configuration:commons-configuration:jar:1.10:compile
|  +- commons-lang:commons-lang:jar:2.6:compile
|  +- org.apache.commons:commons-collections4:jar:4.4:compile
|  +- org.apache-extras.beanshell:bsh:jar:2.0b6:compile
|  +- org.owasp.antisamy:antisamy:jar:1.7.2:compile
|  |  +- net.sourceforge.htmlunit:neko-htmlunit:jar:2.66.0:compile
|  |  +- org.apache.xmlgraphics:batik-css:jar:1.16:compile
|  |  |  +- org.apache.xmlgraphics:batik-shared-resources:jar:1.16:compile
|  |  |  +- org.apache.xmlgraphics:batik-util:jar:1.16:compile
|  |  |  |  +- org.apache.xmlgraphics:batik-constants:jar:1.16:compile
|  |  |  |  \- org.apache.xmlgraphics:batik-i18n:jar:1.16:compile
|  |  |  \- org.apache.xmlgraphics:xmlgraphics-commons:jar:2.7:compile
|  |  +- xerces:xercesImpl:jar:2.12.2:compile
|  |  \- xml-apis:xml-apis-ext:jar:1.3.04:compile
|  \- xml-apis:xml-apis:jar:1.4.01:compile

The ticket in antisamynahsra/antisamy#321
The ticket in neko-htmlunitHtmlUnit/htmlunit-neko#20

Add Travis CI integration

I'd like to add Travis CI to this project, so that we can increase it's adoption among open source contributors.

Separate out canonicalization from the Encoder component

The ESAPI Validator component uses the various Encoder.canonicalize methods, which creates a tight coupling between the Validator and Encoder. We want to avoid that for ESAPI 3, therefore I am proposing to create a lightweight Canonicalizer component and move the Encoder.canonicalize methods to it. That should minimize dependencies for the Validator. ESAPI 3, since it is a major change and thus is permitted to break interfaces, would be a good time to do that.

ESAPI life status

Hey guys, is ESAPI 2.0 officially dead now? What's the status on version 3.0 - word on the street is that this is dead and isn't really maintained anymore. Being asked to move away from it now.

Vulnerability issue on dependency log4j

Hi

I use org.owasp.dependencycheck to check vulnerabilities on my project and esapi to filter all data provided by users.
Unfortunately, the owasp plugin shows a critical issue on log4j... coming for esapi module

log4j-1.2.17.jar cpe:2.3:a:apache:log4j:1.2.17:::::::* pkg:maven/log4j/[email protected] CRITICAL 1 Highest 32

log4j with version 1.2.17 is very old and must be replace at least by org.apache.logging.log4j » log4j-core or by org.slf4j:slf4j-api.

Could you please update the dependencies?

Thanks in advance

com.ibm.uvm.tools unresolved

When I add esapi-2.2.3.0.jar to my OSGI project, the bundle will not load due to an unresolved reference to com.ibm.uvm.tools. Is there a circumvention for this so I can use ESAPI in my project?

ESAPI 2.5.1.0 is reported as vulnerable to CVE-2023-24998

Our static code scanner reports that the latest version of ESAPI (2.5.1.0) depends on the Apache Commons FileUpload library version 1.4 which is vulnerable to CVE-2023-24998

Are you planning on releasing a new version that uses version 1.5 and configures it so that the vulnerability is mitigated by default:

Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.

If not, can you recommend a way to address this vulnerability report?

Migration from Java EE to Jakarta EE

The filters class cannot be use after the migration to jakarta EE because class as org.owasp.filters.ClickjackFilter still referer to javax.* instead of jakarta.*

getHeader length limit error

ESAPI.validator().getValidInput("HTTP header value (" + name + "): " + value, value, "HTTPHeaderValue", 150, true);

if found length limit 150 in SecurityWrapperRequest.java getHeader method,but it throws a exception when is use it to get user-agent for ie8, it's 162 chractors,

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.