Back to catalog

Apache Struts: CVE-2017-5638

No violationsstackroxcriticalbuilddeploy

Alert on deployments with images containing Apache Struts vulnerability CVE-2017-5638

Rationale
CVE-2017-5638 is a serious and easily-exploitable vulnerability in Apache Struts.
Remediation
Rebuild your container with an updated version of Apache Struts.
CategoriesVulnerability Management
Compliance mappingsView coverage →
DORA EU 2022/2554
Art. 9.4(c)
ISO/IEC 27001 2022
A.8.8
NIST SP 800-53 rev. 5
RA-5
PCI DSS 4.0
6.3.1
SOC 2 2017 TSC
CC7.1

Generated artifacts

1 of 5 targets supported
apache-struts-cve-2017-5638.rego
# Apache Struts: CVE-2017-5638 (trivy)
# severity: critical
# source: stackrox/900990b5-60ef-44e5-b7f6-4a1f22215d7f
package trivy.apache_struts_cve_2017_5638

deny[msg] {
  # rule 1
  some v
  v := input.Vulnerabilities[_]
  v.VulnerabilityID == {"CVE-2017-5638"}[_]
  msg := "[critical] Apache Struts: CVE-2017-5638: Alert on deployments with images containing Apache Struts vulnerability CVE-2017-5638"
}
IR (canonical)
{
  "id": "900990b5-60ef-44e5-b7f6-4a1f22215d7f",
  "name": "Apache Struts: CVE-2017-5638",
  "description": "Alert on deployments with images containing Apache Struts vulnerability CVE-2017-5638",
  "rationale": "CVE-2017-5638 is a serious and easily-exploitable vulnerability in Apache Struts.",
  "remediation": "Rebuild your container with an updated version of Apache Struts.",
  "severity": "critical",
  "categories": [
    "Vulnerability Management"
  ],
  "lifecycle": [
    "build",
    "deploy"
  ],
  "eventSource": "none",
  "scope": [],
  "exclusions": [],
  "enforcement": {
    "failBuild": false
  },
  "expression": {
    "op": "criterion",
    "field": "cve",
    "values": [
      "CVE-2017-5638"
    ],
    "valuesOp": "or",
    "negate": false
  },
  "disabled": false
}
Original StackRox JSON
{
  "id": "900990b5-60ef-44e5-b7f6-4a1f22215d7f",
  "name": "Apache Struts: CVE-2017-5638",
  "description": "Alert on deployments with images containing Apache Struts vulnerability CVE-2017-5638",
  "rationale": "CVE-2017-5638 is a serious and easily-exploitable vulnerability in Apache Struts.",
  "remediation": "Rebuild your container with an updated version of Apache Struts.",
  "disabled": false,
  "categories": [
    "Vulnerability Management"
  ],
  "lifecycleStages": [
    "BUILD",
    "DEPLOY"
  ],
  "eventSource": "NOT_APPLICABLE",
  "exclusions": [],
  "scope": [],
  "severity": "CRITICAL_SEVERITY",
  "enforcementActions": [],
  "policySections": [
    {
      "sectionName": "",
      "policyGroups": [
        {
          "fieldName": "CVE",
          "booleanOperator": "OR",
          "negate": false,
          "values": [
            {
              "value": "CVE-2017-5638"
            }
          ]
        }
      ]
    }
  ],
  "notifiers": [],
  "lastUpdated": null,
  "SORTName": "",
  "SORTLifecycleStage": "",
  "SORTEnforcement": false,
  "policyVersion": "1.1",
  "mitreAttackVectors": [],
  "criteriaLocked": true,
  "mitreVectorsLocked": true,
  "isDefault": true,
  "source": "IMPERATIVE"
}