Skip to content

Add ShiftLeft build rules #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

heyandyj
Copy link
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.

Copy link

Qwiet LogoQwiet Logo

Checking analysis of application shiftleft-java-demo against 3 build rules.

Using sl version 0.9.2394 (f6ebd8de58a2456140a2e767c9aaaf8bd858d3ec).

Checking findings on scan 12.

Results per rule:

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

    First 5 findings:

        ID   CVSS    Rating    CVE              Title                                                                                                                                                     
     343    9.8   critical   CVE-2019-10202   A series of deserialization vulnerabilities have been discovered in Codehaus 1.9.x implemented in EAP 7. This CVE fixes CVE-2017-17485, CVE-2017-7525, CV…
     102    9.0   critical   CVE-2021-30139   pkg:pkg/alpine/[email protected]                                                                                                                        
     104    9.0   critical   CVE-2021-36159   pkg:pkg/alpine/[email protected]                                                                                                                        
     147    9.0   critical   CVE-2022-28391   CVE-2022-28391 affecting package busybox 1.35.0-1. A patched version of the package is available.                                                         
     176    9.0   critical   CVE-2021-3711    In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this fu…
     Severity rating   Count 
     Critical             11 
     High                  0 
     Medium                0 
     Low                   0 
     Finding Type   Count 
     Container          7 
     Vuln               3 
     Oss_vuln           1 
     Category                Count 
     Directory Traversal         2 
     Remote Code Execution       1 
     CVE              Count 
     CVE-2022-28391       2 
     CVE-2021-3711        2 
     CVE-2022-37434       1 
     CVE-2021-36159       1 
     CVE-2021-30139       1 
     CVE-2019-10202       1 
     OWASP 2021 Category         Count 
     A01-Broken-Access-Control       2 
     A03-Injection                   1 
  • Allow one OSS or container finding: FAIL
    (73 matched vulnerabilities; configured threshold is 1).

    First 5 findings:

        ID   CVSS    Rating    CVE              Title                                                                                                                                                     
     343    9.8   critical   CVE-2019-10202   A series of deserialization vulnerabilities have been discovered in Codehaus 1.9.x implemented in EAP 7. This CVE fixes CVE-2017-17485, CVE-2017-7525, CV…
     102    9.0   critical   CVE-2021-30139   pkg:pkg/alpine/[email protected]                                                                                                                        
     104    9.0   critical   CVE-2021-36159   pkg:pkg/alpine/[email protected]                                                                                                                        
     147    9.0   critical   CVE-2022-28391   CVE-2022-28391 affecting package busybox 1.35.0-1. A patched version of the package is available.                                                         
     176    9.0   critical   CVE-2021-3711    In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this fu…
     Severity rating   Count 
     Critical              8 
     High                 47 
     Medium               16 
     Low                   2 
     Finding Type   Count 
     Container         67 
     Oss_vuln           6 
  • Allow no reachable OSS vulnerability: FAIL
    (3 matched vulnerabilities; configured threshold is 0).

    Findings:

        ID   CVSS   Rating   CVE              Title                                                                                                                                                       
     125    5.3   medium   CVE-2020-13956   Apache HttpClient versions prior to version 4.5.13 and 5.0.3 can misinterpret malformed authority component in request URIs passed to the library as java.n…
     113    5.0   medium   CVE-2014-3577    org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 does not properly verify that t…
     118    5.0   medium   CVE-2015-5262    http/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before 4.3.6 ignores the http.socket.timeout configuration setting during…
     Severity rating   Count 
     Critical              0 
     High                  0 
     Medium                3 
     Low                   0 
     CVE              Count 
     CVE-2020-13956       1 
     CVE-2015-5262        1 
     CVE-2014-3577        1 

3 rules failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant