Skip to content

build(deps-dev): bump extract-msg from 0.58.1 to 0.58.2 - #1513

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/extract-msg-0.58.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/extract-msg-0.58.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps extract-msg from 0.58.1 to 0.58.2.

Release notes

Sourced from extract-msg's releases.

Version 0.58.2

v0.58.2

  • [Advisory GHSA-6p33-92hw-4v86] [Advisory GHSA-cxpg-prmv-g4pp] Fixed further attack vectors regarding the original advisory that were previously undiscovered. Most changes suggested in the new advisory were accepted as is, however a change was made to the handling of srcset to prevent it from being used at all if external files are not allowed.
  • Changed setup.py to exclude extract_msg_tests from installed packages.
  • Fixed an issue where the code for MSGPath was using a feature added in 3.9.
Changelog

Sourced from extract-msg's changelog.

v0.58.2

  • [Advisory GHSA-6p33-92hw-4v86] [Advisory GHSA-cxpg-prmv-g4pp] Fixed further attack vectors regarding the original advisory that were previously undiscovered. Most changes suggested in the new advisory were accepted as is, however a change was made to the handling of srcset to prevent it from being used at all if external files are not allowed.
  • Changed setup.py to exclude extract_msg_tests from installed packages.
  • Fixed an issue where the code for MSGPath was using a feature added in 3.9.

v0.58.1

  • [[TeamMsgExtractor #493](TeamMsgExtractor/msg-extractor#493 Fixed unable to open embedded msg files due to MSGBase.prefixList still being used after it was removed.
  • Corrected the typing signature of MSGBase.prefix.

v0.58.0

  • Changed module to primarily use MSGPath for pathing. All functions still except string paths or list paths, they now just also accept MSGPath and use it under the hood for path conversions. With this, some functions have been changed to specifically return MSGPath rather than list and string versions of paths. Removed: MSGBase.prefixList, utils.inputToMsgPath(), and utils.msgPathToString(). Modified: *.fixPath(), *.listDir(), and MSGBase.prefix.
  • Changed setup to use find_packages() to try and get ahead of deprecation and ensure all files are distributed correctly.
  • Fixed MSGFile.existsTypedProperty() to actually do what it says it will do. Previous code had it not checking if the right directory was being searched when location was specified.
  • Changed MSGFile.sExists() to correctly detect only the valid string stream type for the MSG file instead of unconditionally checking both types.
  • Re-added extract_msg.constants.PROPERTIES which was removed for unknown reasons in an earlier version (0.42.0). MSGBase.saveRaw() appears to have been non-functional since then.

v0.57.1

  • [[TeamMsgExtractor #489](TeamMsgExtractor/msg-extractor#489 Fix an issue where MessageSignedBase.body would raise an error when the plain text body was not utf-8 encoded bytes. This error was due to extract_msg.utils.unwrapMultipart() accidentally returning the plain text body as bytes instead of string.
  • Change some of the command line documentation.
  • Fix some of the imports in extract_msg/__init__.py.
  • Add additional tests to module.

v0.57.0

  • [Advisory GHSA-cxpg-prmv-g4pp] Fixed a vulnerability related to unchecked input passed out to wkhtmltopdf when converting the MSG file to PDF. Javascript is now strongly blocked from being enabled and will be stripped from the HTML where appropriate before reaching wkhtmltopdf. Additionally, the option --wk-allow-external-files on the command line (or wkAllowExternalFiles to MessageBase.save()) will be required for external files to be loaded into the HTML to convert. Without these, they will be stripped before reaching wkhtmltopdf for security.
  • [Advisory GHSA-mqxr-j8rh-p4q4] Fixed an issue where an attacker controlled MSG file could take advantage of a poorly written section of code in the RTF deencapsulation function on the extract-msg side to waste massive amounts of time and memory resources.
  • [Advisory GHSA-rgjf-vmqv-8pv9] Change the way multiple type properties are accessed for binary and string. This includes modifications to MSGFile.getMultipleBinary(), MSGFile.getMultipleString(), and MSGFile.exists() to significantly reduce wasted times for malicious files. Malicious files previously could cause extract-msg to do unnecessarily large numbers of calls to MSGFile.exists() which previously did not use caching to speed up its search.
  • Changed MSGFile.listDir() to return a tuple of tuples to prevent it's cache results from being tampered with.
  • Fixed an issue with MSGFile.listDir() that caused it to not cache in certain circumstances when it should always cache.
  • Fixed a check in MSGFile.getMultipleBinary() that executed wrong and did not properly check for bad data.
  • Fixed MSGFile._getTypedSteam() to correctly parse binary and string streams when an entry is missing.
  • Fixed StandardViolationError being raised without checking error behavior in MSGFile.getMultipleBinary() and MSGFile.getMultipleString().
  • Added check for standard violation in MSGFile.getMultipleString() that is raised (or logged, depending on error behavior) if a string stream is missing a null byte. This also doesn't strip the last character in the stream if it is not null.
  • Added length check log to MSGFile.getMultipleBinary() and MSGFile.getMultipleString() that checks to see if the expected length for each stream matches what the length stream says. If not, it logs a warning about the mismatch, but does not consider this a gross violation of the standard.
  • Changed how MessageBase.deencapsulatedRtf handles RTF data without a closing brace.
  • Fixed wrong return being used in extract_msg.encoding.utils.singleByteEncode() and extract_msg.encoding.utils.variableByteEncode().
  • Fixed missing return in extract_msg.encoding.utils.singleByteEncode().
  • Fixed wrong parameter names for codec types made in extract_msg.encoding.utils.createSBEncoding() and extract_msg.encoding.utils.createVBEncoding().
  • Fix some values being incorrectly returned from encode/decode functions in extract_msg.encoding.utils.

v0.56.1

v0.56.0

  • [[TeamMsgExtractor #478](TeamMsgExtractor/msg-extractor#478 Expand allowable versions of ebcdic to include 2.x. The 2.0 release is a pure technical release with no functional changes; it only drops support for Python 2 and 3.8. The lower bound is unchanged so installs on Python 3.8 will continue to resolve to ebcdic 1.1.1.
  • [[TeamMsgExtractor #469](TeamMsgExtractor/msg-extractor#469 Expanded beautifulsoup to allow for versions up to 5.*.*. I was previously hesitant to do so because they sometimes do what seems like non backwards compatible changes in minor versions, but it looks like this should be fine.
  • [[TeamMsgExtractor #471](TeamMsgExtractor/msg-extractor#471 Added .strip() to file name determination to ensure that folders with trailing spaces would be corrected before being used.
  • [[TeamMsgExtractor #481](TeamMsgExtractor/msg-extractor#481 Fixed a typo that caused an HTML body created from plain text to end with </head> instead of </html>.
  • [[TeamMsgExtractor #476](TeamMsgExtractor/msg-extractor#476 Fixed MessageBase.asEmailMessage() raising ValueError when a message has multiple To recipients.

v0.55.0

... (truncated)

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
extract-msg [>= 0.40.a, < 0.41]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [extract-msg](https://github.com/TeamMsgExtractor/msg-extractor) from 0.58.1 to 0.58.2.
- [Release notes](https://github.com/TeamMsgExtractor/msg-extractor/releases)
- [Changelog](https://github.com/TeamMsgExtractor/msg-extractor/blob/master/CHANGELOG.md)
- [Commits](TeamMsgExtractor/msg-extractor@v0.58.1...v0.58.2)

---
updated-dependencies:
- dependency-name: extract-msg
  dependency-version: 0.58.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants