Show plain JSON{"dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": {"cveId": "CVE-2023-46302", "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "state": "PUBLISHED", "assignerShortName": "apache", "dateReserved": "2023-10-22T09:16:41.424Z", "datePublished": "2023-11-20T08:46:56.197Z", "dateUpdated": "2024-08-02T20:45:40.909Z"}, "containers": {"cna": {"affected": [{"defaultStatus": "unaffected", "product": "Apache Submarine", "vendor": "Apache Software Foundation", "versions": [{"lessThan": "0.8.0", "status": "affected", "version": "0.7.0", "versionType": "semver"}]}], "credits": [{"lang": "en", "type": "reporter", "value": "GHSL team member @jorgectf (Jorge Rosillo)"}], "descriptions": [{"lang": "en", "supportingMedia": [{"base64": false, "type": "text/html", "value": "Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by snakeyaml <a target=\"_blank\" rel=\"nofollow\" href=\"https://nvd.nist.gov/vuln/detail/CVE-2022-1471\">https://nvd.nist.gov/vuln/detail/CVE-2022-1471</a>.<br><br>Apache Submarine uses JAXRS to define REST endpoints. In order to\nhandle YAML requests (using application/yaml content-type), it defines\na YamlEntityProvider entity provider that will process all incoming\nYAML requests. In order to unmarshal the request, the readFrom method\nis invoked, passing the entityStream containing the user-supplied data in `submarine-server/server-core/src/main/java/org/apache/submarine/server/utils/YamlUtils.java`.<br> <br>We have now fixed this issue in the new version by replacing to `jackson-dataformat-yaml`.<br>This issue affects Apache Submarine: from 0.7.0 before 0.8.0. <span style=\"background-color: rgb(255, 255, 255);\">Users are recommended to upgrade to version 0.8.0, which fixes this issue.<br><span style=\"background-color: rgb(255, 255, 255);\">If using the version smaller than 0.8.0 and not want to upgrade, you can try cherry-pick PR <a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/apache/submarine/pull/1054\">https://github.com/apache/submarine/pull/1054</a> and rebuild the submart-server image to fix this.</span><br><br></span><br>"}], "value": "Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by snakeyaml https://nvd.nist.gov/vuln/detail/CVE-2022-1471 .\n\nApache Submarine uses JAXRS to define REST endpoints. In order to\nhandle YAML requests (using application/yaml content-type), it defines\na YamlEntityProvider entity provider that will process all incoming\nYAML requests. In order to unmarshal the request, the readFrom method\nis invoked, passing the entityStream containing the user-supplied data in `submarine-server/server-core/src/main/java/org/apache/submarine/server/utils/YamlUtils.java`.\n \nWe have now fixed this issue in the new version by replacing to `jackson-dataformat-yaml`.\nThis issue affects Apache Submarine: from 0.7.0 before 0.8.0.\u00a0Users are recommended to upgrade to version 0.8.0, which fixes this issue.\nIf using the version smaller than 0.8.0 and not want to upgrade, you can try cherry-pick PR https://github.com/apache/submarine/pull/1054 and rebuild the submart-server image to fix this.\n\n"}], "metrics": [{"other": {"content": {"text": "critical"}, "type": "Textual description of severity"}}], "problemTypes": [{"descriptions": [{"cweId": "CWE-502", "description": "CWE-502 Deserialization of Untrusted Data", "lang": "en", "type": "CWE"}]}], "providerMetadata": {"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "shortName": "apache", "dateUpdated": "2023-11-20T08:46:56.197Z"}, "references": [{"tags": ["issue-tracking"], "url": "https://issues.apache.org/jira/browse/SUBMARINE-1371"}, {"tags": ["patch"], "url": "https://github.com/apache/submarine/pull/1054"}, {"tags": ["vendor-advisory"], "url": "https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5"}], "source": {"defect": ["SUBMARINE-1371"], "discovery": "UNKNOWN"}, "title": "Apache Submarine: Fix CVE-2022-1471 SnakeYaml unsafe deserialization", "x_generator": {"engine": "Vulnogram 0.1.0-dev"}}, "adp": [{"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T20:45:40.909Z"}, "title": "CVE Program Container", "references": [{"tags": ["issue-tracking", "x_transferred"], "url": "https://issues.apache.org/jira/browse/SUBMARINE-1371"}, {"tags": ["patch", "x_transferred"], "url": "https://github.com/apache/submarine/pull/1054"}, {"tags": ["vendor-advisory", "x_transferred"], "url": "https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5"}]}]}}