Skip to content

Conversation

@bbrucesnell
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.

@github-actions
Copy link

Qwiet LogoQwiet Logo

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

Using sl version 0.9.1696 (f39c3e72cd0cd5c2f081450a436a52b9dd934a2e).

Checking findings on scan 1.

Results per rule:

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

    First 5 findings:

       ID   CVSS    Rating    CVE              Title                                                                     
      8    9.0   critical                    Remote Code Execution: Command Injection Through HTTP in grep_processes 
     13    9.0   critical                    SQL Injection: HTTP Data to SQL Database in create_user                 
     18    9.0   critical   CVE-2021-36159   pkg:pkg/alpine/[email protected]                                        
     26    9.0   critical                    SQL Injection: HTTP Data to SQL Database in login                       
     34    9.0   critical                    SQL Injection: HTTP Data to SQL Database in create_user                 
     Severity rating   Count 
     Critical             10 
     High                  0 
     Medium                0 
     Low                   0 
     Finding Type   Count 
     Vuln               5 
     Container          5 
     Category                Count 
     SQL Injection               4 
     Remote Code Execution       1 
     CVE              Count 
     CVE-2023-0286        1 
     CVE-2022-37434       1 
     CVE-2022-28391       1 
     CVE-2021-36159       1 
     CVE-2021-3711        1 
  • Allow one OSS or container finding: FAIL
    (40 matched vulnerabilities; configured threshold is 1).

    First 5 findings:

       ID   CVSS    Rating    CVE              Title                                                                                                                                                      
     18    9.0   critical   CVE-2021-36159   pkg:pkg/alpine/[email protected]                                                                                                                         
     50    9.0   critical   CVE-2022-28391   BusyBox through 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compatible terminal.…
     58    9.0   critical   CVE-2022-37434   zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applicati…
     79    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 fun…
     93    9.0   critical   CVE-2023-0286    There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING bu…
     Severity rating   Count 
     Critical              5 
     High                 27 
     Medium                6 
     Low                   2 
     Finding Type   Count 
     Container         34 
     Oss_vuln           6 
  • Allow no reachable OSS vulnerability: FAIL
    (1 matched vulnerability; configured threshold is 0).

    Finding:

       ID   CVSS   Rating   CVE                Title                                                                                                                                                      
     11    7.5    high    CVE-2019-1010083   The Pallets Project Flask before 1.0 is affected by unexpected memory usage. The impact is denial of service. The attack vector is crafted encoded JSON da…
     Severity rating   Count 
     Critical              0 
     High                  1 
     Medium                0 
     Low                   0 

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.

2 participants