Check veracode 1.0.17 without exclusions #6704
Annotations
1 error and 1 warning
Run SAST Scan
[09 Jan 2025 17:47:31,0939] PIPELINE-SCAN INFO: Pipeline Scan Tool Version 24.12.1-0.
[09 Jan 2025 17:47:31,0962] PIPELINE-SCAN INFO: Loading policy file Alfresco_Default.json
[09 Jan 2025 17:47:31,0963] PIPELINE-SCAN INFO: Successfully retrieved the policy
[09 Jan 2025 17:47:31,0964] PIPELINE-SCAN INFO: Policy name: Alfresco Default
[09 Jan 2025 17:47:31,0964] PIPELINE-SCAN INFO: CWE filter:
[09 Jan 2025 17:47:31,0964] PIPELINE-SCAN INFO: Severity filter: 3, 4, 5,
[09 Jan 2025 17:47:31,0965] PIPELINE-SCAN INFO: Beginning scanning of 'temp-dir-for-sast/reduced.war'.
[09 Jan 2025 17:47:31,0968] PIPELINE-SCAN INFO: Sending 137047573 bytes to the server for analysis.
[09 Jan 2025 17:48:11,0056] PIPELINE-SCAN INFO: Upload complete.
[09 Jan 2025 17:48:11,0056] PIPELINE-SCAN INFO: Scan ID: 6b6a6125-fe6b-428e-8a54-1a3b903a23e2
[09 Jan 2025 17:48:11,0286] PIPELINE-SCAN INFO: Analysis Started.
===========================
Found 2 Scannable modules.
===========================
reduced.war
JS files within reduced.war
[09 Jan 2025 17:50:44,0238] PIPELINE-SCAN INFO: Analysis Complete.
[09 Jan 2025 17:50:44,0239] PIPELINE-SCAN INFO: Analysis Results: Received 11216 bytes in 192274ms.
[09 Jan 2025 17:50:44,0242] PIPELINE-SCAN INFO: Writing Raw JSON Results to file '/home/runner/work/alfresco-community-repo/alfresco-community-repo/results.json'.
[09 Jan 2025 17:50:44,0244] PIPELINE-SCAN INFO: Applying custom severity 4 to cwe 80
[09 Jan 2025 17:50:44,0246] PIPELINE-SCAN INFO: Writing Filtered JSON Results to file '/home/runner/work/alfresco-community-repo/alfresco-community-repo/filtered_results.json'.
Scan Summary:
PIPELINE_SCAN_VERSION: 24.12.1-0
DEV-STAGE: DEVELOPMENT
PROJECT-NAME: alfresco-community-repo
SCAN_ID: 6b6a6125-fe6b-428e-8a54-1a3b903a23e2
SCAN_STATUS: SUCCESS
SCAN_MESSAGE: Scan successful. Results size: 10756 bytes
====================
Analysis Successful.
====================
==========================
Found 2 Scannable modules.
==========================
reduced.war
JS files within reduced.war
===================
Analyzed 2 modules.
===================
reduced.war
JS files within reduced.war
==================
Analyzed 5 issues.
==================
--------------------------------
Found 1 issues of High severity.
--------------------------------
CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS): org/springframework/security/spring-security-webauthn.js:199
Details: <span>This call to href() contains a cross-site scripting (XSS) flaw. The application populates the HTTP response with untrusted input, allowing an attacker to embed malicious content, such as Javascript code, which will be executed in the context of the victim's browser. XSS vulnerabilities are commonly exploited to steal or manipulate cookies, modify presentation of content, and compromise confidential information, with new attack vectors being discovered on a regular basis. </span> <span>Use contextual escaping on all untrusted data before using it to construct any portion of an HTTP response. The escaping method should be chosen based on the specific use case of the untrusted data, otherwise it may not protect fully against the attack. For example, if the data is being written to the body of an HTML page, use HTML entity escaping; if the data is being written to an attribute, use attribute escaping; etc. Both the OWASP Java Encoder library and the Microsoft AntiXSS library provide contextual escaping methods. For more details on contextual escaping, see https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.md. In addition, as a best practice, always validate untrusted input to ensure that it conforms to the expected format, using centralized data validation routines when possible.</span> <span>References: <a href="https://cwe.mitre.org/data/definitions/79.html">CWE</a> <a href="https://owasp.org/www-community/attacks/xss/">OWASP</a> <a href="https://docs.veracode.com/r/review_cleansers">Supported Cleansers</a></span>
https://downloads.verac
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading