GSD-2022-41954

Vulnerability from gsd - Updated: 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…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.