Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

Add ShiftLeft build rules - #78

Open
astrilets-qa wants to merge 1 commit into
masterfrom
demo-branch-1709329175
Open

astrilets-qa wants to merge 1 commit into
masterfrom
demo-branch-1709329175

Conversation

@astrilets-qa

Copy link
Copy Markdown
Owner

Qwiet LogoQwiet Logo

This pull request enables build rules. You can read more about build rules here. The build rules are controlled by the shiftleft.yml file in the repository.

Visit app.shiftleft.io to see the security findings for this repository.

We've done a few things on your behalf

  • Forked this demo application
  • Generated a unique secret SHIFTLEFT_ACCESS_TOKEN to allow GitHub Actions in this repository to communicate with the Qwiet (Shiftleft) API
  • Committed a GitHub Action that will invoke Qwiet preZero's Static Application Security Testing (SAST) on all future pull requests on this repository
  • Created this pull request that demonstrates build rules. It also adds a status check that displays the result of the GitHub Action

Questions? Comments? Want to learn more? Get in touch with us or check out our documentation.

@github-actions

github-actions Bot commented Mar 1, 2024

Copy link
Copy Markdown

Qwiet LogoQwiet Logo

Checking analysis of application Benchmark against 3 build rules.

Using sl version 0.9.2299 (ec550947d2baddc831210d96ef20153714ed5992).

Checking findings on scan 3.

Results per rule:

  • Allow no critical findings: FAIL
    (11 matched vulnerabilities; configured threshold is 0).

    First 5 findings:

         ID   CVSS    Rating    CVE              Title                                                                                                                                                    
     3803   10.0   critical   CVE-2021-44228   JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An a…
     3900   10.0   critical   GMS-2022-559     Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.springframework:spring-core.                           
     3912   10.0   critical   GMS-2022-558     Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.springframework:spring-beans.                          
     3795    9.8   critical   CVE-2022-23307   CVE-2020-9493 identified a deserialization issue that was present in Apache Chainsaw. Prior to Chainsaw V2.0 Chainsaw was a component of Apache Log4j 1.…
     3799    9.8   critical   CVE-2019-17571   Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitra…
     Severity rating   Count 
     Critical             11 
     High                  0 
     Medium                0 
     Low                   0 
     CVE              Count 
     CVE-2022-22965       2 
     GMS-2022-559         1 
     GMS-2022-558         1 
     CVE-2022-41853       1 
     CVE-2022-34169       1 
     CVE-2022-23307       1 
     CVE-2022-23305       1 
     CVE-2021-44228       1 
     CVE-2020-10683       1 
     CVE-2019-17571       1 
  • Allow one OSS or container finding: FAIL
    (48 matched vulnerabilities; configured threshold is 1).

    First 5 findings:

         ID   CVSS    Rating    CVE              Title                                                                                                                                                    
     3803   10.0   critical   CVE-2021-44228   JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An a…
     3900   10.0   critical   GMS-2022-559     Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.springframework:spring-core.                           
     3912   10.0   critical   GMS-2022-558     Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.springframework:spring-beans.                          
     3795    9.8   critical   CVE-2022-23307   CVE-2020-9493 identified a deserialization issue that was present in Apache Chainsaw. Prior to Chainsaw V2.0 Chainsaw was a component of Apache Log4j 1.…
     3799    9.8   critical   CVE-2019-17571   Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitra…
     Severity rating   Count 
     Critical             11 
     High                 17 
     Medium               19 
     Low                   1 
  • Allow no reachable OSS vulnerability: FAIL
    (3 matched vulnerabilities; configured threshold is 0).

    Findings:

         ID   CVSS   Rating   CVE                Title                                                                                                                                                    
     3880    7.5    high    CVE-2022-23457     The default implementation of Validator.getValidDirectoryPath(String, String, File, boolean) may incorrectly treat the tested input string as a child …
     3882    6.1   medium   CVE-2022-24891     There is a potential for an XSS vulnerability in ESAPI caused by a incorrect regular expression for "onsiteURL" in the antisamy-esapi.xml configurat…
     3902    5.0   medium   CVE-2016-1000027   Pivotal Spring Framework before 6.0.0 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Dep…
     Severity rating   Count 
     Critical              0 
     High                  1 
     Medium                2 
     Low                   0 
     CVE                Count 
     CVE-2022-24891         1 
     CVE-2022-23457         1 
     CVE-2016-1000027       1 

3 rules failed.

@github-actions

github-actions Bot commented Mar 1, 2024

Copy link
Copy Markdown

👋 @Tolstr OWASP Benchmark scorecard is available for download in the Artifacts Section of GitHub Action

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant