8000 x/vulndb: potential Go vuln in github.com/sajari/docconv: CVE-2022-4741 · Issue #1188 · golang/vulndb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

x/vulndb: potential Go vuln in github.com/sajari/docconv: CVE-2022-4741 #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Dec 25, 2022 · 2 comments
Closed
Assignees

Comments

@GoVulnBot
Copy link

CVE-2022-4741 references github.com/sajari/docconv, which may be a Go module.

Description:
A vulnerability was found in docconv up to 1.2.0 and classified as problematic. This issue affects the function ConvertDocx/ConvertODT/ConvertPages/ConvertXML/XMLToText. The manipulation leads to uncontrolled memory allocation. The attack may be initiated remotely. Upgrading to version 1.2.1 is able to address this issue. The name of the patch is 42bcff666855ab978e67a9041d0cdea552f20301. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216779.

References:

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: github.com/sajari/docconv
    packages:
      - package: docconv
description: |
    A vulnerability was found in docconv up to 1.2.0 and classified as problematic. This issue affects the function ConvertDocx/ConvertODT/ConvertPages/ConvertXML/XMLToText. The manipulation leads to uncontrolled memory allocation. The attack may be initiated remotely. Upgrading to version 1.2.1 is able to address this issue. The name of the patch is 42bcff666855ab978e67a9041d0cdea552f20301. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216779.
    Eine problematische Schwachstelle wurde in docconv bis 1.2.0 gefunden. Hierbei geht es um die Funktion ConvertDocx/ConvertODT/ConvertPages/ConvertXML/XMLToText. Mit der Manipulation mit unbekannten Daten kann eine uncontrolled memory allocation-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk. Ein Aktualisieren auf die Version 1.2.1 vermag dieses Problem zu lösen. Der Patch wird als 42bcff666855ab978e67a9041d0cdea552f20301 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
cves:
  - CVE-2022-4741
references:
  - web: https://github.com/sajari/docconv/releases/tag/v1.2.1
  - web: https://vuldb.com/?id.216779
  - web: https://vuldb.com/?ctiid.216779
  - fix: https://github.com/sajari/docconv/pull/111
  - fix: https://github.com/sajari/docconv/commit/42bcff666855ab978e67a9041d0cdea552f20301

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/461636 mentions this issue: data/reports: add GO-2022-1188.yaml

@timothy-king
Copy link
Contributor

A library using ioutil.ReadAll(r) on an io.Reader r passed to a library is not itself a concern for uncontrolled memory allocation. Using ioutil.ReadAll on the result of a (*http.Reader).FormFile is concerning. The entry in vulndb corresponds to passing the (*http.Reader).FormFile in the docd package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0