Skip to content

Hcl vulnerability list update#297

Merged
davewichers merged 10 commits into
OWASP-Benchmark:mainfrom
AkashSahai:HCL_Vulnerability_List_Update
May 13, 2026
Merged

Hcl vulnerability list update#297
davewichers merged 10 commits into
OWASP-Benchmark:mainfrom
AkashSahai:HCL_Vulnerability_List_Update

Conversation

@AkashSahai
Copy link
Copy Markdown
Contributor

@AkashSahai AkashSahai commented May 5, 2026

Updated the Hcl vulnerability list to get proper results after running crawler and scorecard scripts for Owasp Benchmark Python.

  • Add 5 entries to vulnerabilityToCweNumber map and modified mapping for 1.

Added more CWE mappings for HCL AppScan
Modified mapping of attJavaDeserCodeExec for HCL AppScan IAST
Modified IAST related vulnerability mappings
Added CodeInjection mapping for IAST
…ability

added DeserializationOfUntrustedData as another option for 502 Vulnerability
Removed added MISSING_REFERRER_POLICY_HEADER as this was handled using CweNumber.DONTCARE
removed not required code
removed whitespace
@AkashSahai
Copy link
Copy Markdown
Contributor Author

Hi @davewichers,
please take a look at this PR and merge if everything looks good.

Thanks.

vulnerabilityToCweNumber.put("attRedirectInURL", CweNumber.OPEN_REDIRECT);
vulnerabilityToCweNumber.put("attReferrerPolicyHeaderExist", CweNumber.DONTCARE);
vulnerabilityToCweNumber.put("DetectedAPIs", CweNumber.DONTCARE);
vulnerabilityToCweNumber.put("attBlindCodeInjection", 94);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it does not exist, please create the number in CweNumber class.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced 94 with CweNumber.CODE_INJECTION, which was recently added to the CweNumber class.

removed hard coded CweNumber and using the CweNumber.CODE_INJECTION on the place of 94
@AkashSahai AkashSahai requested a review from darkspirit510 May 12, 2026 06:27
@davewichers davewichers merged commit ded8378 into OWASP-Benchmark:main May 13, 2026
1 check passed
@davewichers
Copy link
Copy Markdown
Contributor

@darkspirit510 - His updates look like they addressed your comments properly, so I merged this in.

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.

3 participants