Splunk Dev

How to fix error: Detect usage of JavaScript libraries with known vulnerabilities in AppInspect

Shukran
Explorer

Hello,

I am trying to fix an error in for an inherited add-on that i am maintaining.

category: app_cert_validation
description: Detect usage of JavaScript libraries with known vulnerabilities.
ext_data: { [+]
message_id: 7002
rule_name: Validate app certification
severity: Fatal
solution: 3rd party CORS request may execute parseHTML) executes scripts in event handlers jQuery before 3.4.0, as used in Drupal Backdrop CMS, and other products, mishandles jQuery.extend(true, (], ..) because of Object.prototype pollution Regex in its Query.htmlPrefilter sometimes may introduce XSS Regex in its jQuery.htmlPrefilter sometimes may introduce XSS reDOS - regular expression denial of service Regular Expression Denial of Service (ReDoS) Regular Expression Denial of Service (ReDoS) This vulnerability impacts pm (server) users of moment. js, especially if user provided locale string, eg fr is directly used to switch moment locale.
status: Fail
sub_category: Checks related to JavaScript usage

I checked some community questions, one of the answer mentions the below fix.

  1. Export the app from any Add-on Builder
  2. Import the app into Add-on Builder v4.1.0 or newer
  3. Download the app packaged from Add-on Builder v4.1.0 or newer

I don't have the original app export and cannot import that to new AOB. I tried importing a tgz file but that gives an error.

Is there any other way I can fix this or something else i can try?

Labels (4)
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...