An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker in control of a GoCD Agent can plant malicious JavaScript into a failed Job Report.
[
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Line",
"target": {
"file": "common/src/test/java/com/thoughtworks/go/domain/FolderDirectoryEntryTest.java"
},
"id": "CVE-2021-43288-132f8abb",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"41130404282318150981389390619315329558",
"117417995383817804647042997548096880401",
"339481908839719685303323831546175213824",
"185696123082887796366643922406931954908",
"140962149972854787697455876797272875024",
"172268737465801296500107483293618244501"
]
}
},
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Function",
"target": {
"function": "content",
"file": "common/src/main/java/com/thoughtworks/go/server/presentation/html/HtmlElement.java"
},
"id": "CVE-2021-43288-17fee504",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "277832213749086550094602471120368985873",
"length": 79.0
}
},
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Line",
"target": {
"file": "common/src/main/java/com/thoughtworks/go/domain/DirectoryEntries.java"
},
"id": "CVE-2021-43288-8ad89d5c",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"198270681855997635050275658244298040909",
"92694157782684808310545017511849568516",
"159073927930292031138447366549011488720",
"177899793082831555105634838780035529231"
]
}
},
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Line",
"target": {
"file": "common/src/main/java/com/thoughtworks/go/domain/FolderDirectoryEntry.java"
},
"id": "CVE-2021-43288-b126524f",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"119410508526062846899070262397994851315",
"30735711512745886265326382857562123540",
"273540969283561134716709162127965113682",
"176275089518117490442390096014503045418"
]
}
},
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Line",
"target": {
"file": "common/src/main/java/com/thoughtworks/go/server/presentation/html/HtmlElement.java"
},
"id": "CVE-2021-43288-b5dab9ba",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"312044316349043762132660748309941610253",
"256637536371406419586597220985411684489",
"333124841869036422491056056007801561635",
"235771309604204505386534889221782206700",
"50947427936912875553634603336562278676",
"117681936723556710923454445676841017941",
"177432775209488317237403144805652479666",
"211145546446505473087097954992567901577",
"54553599175285427904195511061305691940",
"44321068693799336148783371705659211925",
"222000082690613801919619545979750701695"
]
}
},
{
"source": "https://github.com/gocd/gocd/commit/f5c1d2aa9ab302a97898a6e4b16218e64fe8e9e4",
"signature_type": "Line",
"target": {
"file": "common/src/main/java/com/thoughtworks/go/domain/FileDirectoryEntry.java"
},
"id": "CVE-2021-43288-c932b981",
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"236366784861235243515631465874348738547",
"294165472048635542858226235474378532441",
"29744849027231144714792298547525138320",
"252194360484237263014059727769367591571"
]
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43288.json"