Skip to content

Commit

Permalink
fix Security-2865 / CVE-2022-43434
Browse files Browse the repository at this point in the history
  • Loading branch information
songlongcn committed Oct 28, 2022
1 parent 58f0e0e commit e0a7237
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ This is a Jenkins Plugin to do security vulnerabilities scan on registries and l

See [GitHub releases](https://github.com/jenkinsci/neuvector-vulnerability-scanner-plugin/releases)

1.22 (Oct 28, 2022)
-----
* Fix Security-2865 / CVE-2022-43434

1.21 (Oct 25, 2022)
-----
* Fix Security-2865 / CVE-2022-43434
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath workspace, @Nonnul
// init the logger
this.logger = new Log(listener.getLogger());

// config the Jenkins CSP to allow the main panel to show html file
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'none'; style-src 'self'; img-src 'self';");

// copy styles.css to workspace
File cssFile;
final EnvVars env = run.getEnvironment(listener);
Expand Down

0 comments on commit e0a7237

Please sign in to comment.