ADVISORIES

GitHub Advisory Database

GHSA-38w8-h222-wrpp

Improper Restriction of XML External Entity Reference in Jenkins Chef Sinatra

High No fix available CVE-2022-25209

Details

Chef Sinatra Plugin 1.20 and earlier does not perform a permission check in a method implementing form validation.

As the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, attackers can have Jenkins parse a crafted XML response that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:sinatra-chef-builder
All versions up to and including 1.20

References