gsd-2022-41954
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ's use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-41954",
    "id": "GSD-2022-41954"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-41954"
      ],
      "details": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
      "id": "GSD-2022-41954",
      "modified": "2023-12-13T01:19:33.019984Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-41954",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "mpxj",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003c 10.14.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "joniles"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-200",
                "lang": "eng",
                "value": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"
              }
            ]
          },
          {
            "description": [
              {
                "cweId": "CWE-377",
                "lang": "eng",
                "value": "CWE-377: Insecure Temporary File"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "refsource": "MISC",
            "url": "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g"
          },
          {
            "name": "https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721",
            "refsource": "MISC",
            "url": "https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-jf2p-4gqj-849g",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,10.14.1)",
          "affected_versions": "All versions before 10.14.1",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-668",
            "CWE-937"
          ],
          "date": "2023-07-06",
          "description": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
          "fixed_versions": [
            "10.14.1"
          ],
          "identifier": "CVE-2022-41954",
          "identifiers": [
            "CVE-2022-41954",
            "GHSA-jf2p-4gqj-849g"
          ],
          "not_impacted": "All versions starting from 10.14.1",
          "package_slug": "maven/net.sf.mpxj/mpxj",
          "pubdate": "2022-11-25",
          "solution": "Upgrade to version 10.14.1 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41954",
            "https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd",
            "https://github.com/advisories/GHSA-jf2p-4gqj-849g"
          ],
          "uuid": "bc74a77d-2896-432e-b0ef-e6e6d9184a9c"
        },
        {
          "affected_range": "(,10.14.1)",
          "affected_versions": "All versions before 10.14.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2022-11-28",
          "description": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
          "fixed_versions": [
            "10.14.1"
          ],
          "identifier": "CVE-2022-41954",
          "identifiers": [
            "GHSA-jf2p-4gqj-849g",
            "CVE-2022-41954"
          ],
          "not_impacted": "All versions starting from 10.14.1",
          "package_slug": "nuget/net.sf.mpxj-for-csharp",
          "pubdate": "2022-11-28",
          "solution": "Upgrade to version 10.14.1 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41954",
            "https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd",
            "https://github.com/advisories/GHSA-jf2p-4gqj-849g"
          ],
          "uuid": "4a1cced8-8819-4bc6-815a-b13c360ab218"
        },
        {
          "affected_range": "(,10.14.1)",
          "affected_versions": "All versions before 10.14.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2022-11-28",
          "description": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
          "fixed_versions": [
            "10.14.1"
          ],
          "identifier": "CVE-2022-41954",
          "identifiers": [
            "GHSA-jf2p-4gqj-849g",
            "CVE-2022-41954"
          ],
          "not_impacted": "All versions starting from 10.14.1",
          "package_slug": "nuget/net.sf.mpxj-for-vb",
          "pubdate": "2022-11-28",
          "solution": "Upgrade to version 10.14.1 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41954",
            "https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd",
            "https://github.com/advisories/GHSA-jf2p-4gqj-849g"
          ],
          "uuid": "20860ca9-a7df-45ee-9ff1-3e2dc5f87b0c"
        },
        {
          "affected_range": "(,10.14.1)",
          "affected_versions": "All versions before 10.14.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2022-11-28",
          "description": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
          "fixed_versions": [
            "10.14.1"
          ],
          "identifier": "CVE-2022-41954",
          "identifiers": [
            "GHSA-jf2p-4gqj-849g",
            "CVE-2022-41954"
          ],
          "not_impacted": "All versions starting from 10.14.1",
          "package_slug": "nuget/net.sf.mpxj",
          "pubdate": "2022-11-28",
          "solution": "Upgrade to version 10.14.1 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41954",
            "https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd",
            "https://github.com/advisories/GHSA-jf2p-4gqj-849g"
          ],
          "uuid": "06a7238b-a3c4-4bba-9406-0d61d0ec1ee3"
        },
        {
          "affected_range": "\u003c10.14.1",
          "affected_versions": "All versions before 10.14.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-200",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2022-11-28",
          "description": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files.",
          "fixed_versions": [
            "10.14.1"
          ],
          "identifier": "CVE-2022-41954",
          "identifiers": [
            "GHSA-jf2p-4gqj-849g",
            "CVE-2022-41954"
          ],
          "not_impacted": "All versions starting from 10.14.1",
          "package_slug": "pypi/mpxj",
          "pubdate": "2022-11-28",
          "solution": "Upgrade to version 10.14.1 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41954",
            "https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd",
            "https://github.com/advisories/GHSA-jf2p-4gqj-849g"
          ],
          "uuid": "6baed645-3b9a-4340-9048-506e397ef9a4"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:mpxj:mpxj:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "10.14.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-41954"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ\u0027s use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`. This means that any other user on the system can read the contents of this file. When MPXJ is reading a schedule file which requires the creation of a temporary file or directory, a knowledgeable local user could locate these transient files while they are in use and would then be able to read the schedule being processed by MPXJ. The problem has been patched, MPXJ version 10.14.1 and later includes the necessary changes. Users unable to upgrade may set `java.io.tmpdir` to a directory to which only the user running the application has access will prevent other users from accessing these temporary files."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-200"
                },
                {
                  "lang": "en",
                  "value": "CWE-377"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g"
            },
            {
              "name": "https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721",
              "refsource": "MISC",
              "tags": [],
              "url": "https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 1.4
        }
      },
      "lastModifiedDate": "2023-09-07T15:15Z",
      "publishedDate": "2022-11-25T19:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.