An issue was discovered in Sonatype Nexus Repository Manager in versions 3.21.1 and 3.22.0. It is possible for a user with appropriate privileges to create, modify, and execute scripting tasks without use of the UI or API. NOTE: in 3.22.0, scripting is disabled by default (making this not exploitable).
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:sonatype:nexus_repository_manager:3.21.1:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "3.21.1"
},
{
"last_affected": "3.21.1"
}
],
"source": "CPE_STRING",
"vendor_product": "sonatype:nexus_repository_manager"
}
]
}{
"cpe": "cpe:2.3:a:sonatype:nexus_repository_manager:3.22.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "3.22.0"
},
{
"last_affected": "3.22.0"
}
],
"source": "CPE_STRING"
}