segiddins / segiddins.me

http://segiddins.me/
0 stars 0 forks source link

[Security] Bump ffi from 1.9.8 to 1.14.1 #38

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps ffi from 1.9.8 to 1.14.1. This update includes a security fix.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

ruby-ffi DDL loading issue on Windows OS ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.

Patched versions: >= 1.9.24 Unaffected versions: none

Changelog

Sourced from ffi's changelog.

1.14.1 / 2020-12-19

Changed:

  • Revert changes to FFI::Pointer#write_string made in ffi-1.14.0. It breaks compatibilty in a way that can cause hard to find errors. #857

1.14.0 / 2020-12-18

Added:

  • Add types.conf for x86_64-msys, x86_64-haiku, aarch64-openbsd and aarch64-darwin (alias arm64-darwin)
  • Add method AbstractMemory#size_limit? . #829
  • Add new extconf option --enable-libffi-alloc which is enabled per default on Apple M1 (arm64-darwin).

Changed:

  • Do NULL pointer check only when array length > 0 . #305
  • Raise an error on an unknown order argument. #830
  • Change FFI::Pointer#write_string to terminate with a NUL byte like other string methods. #805
  • Update bundled libffi to latest master.

Removed:

  • Remove win32/stdint.h and stdbool.h because of copyright issue. #693

Fixed:

  • Fix possible UTF-8 load error in loader script interpretation. #792
  • Fix segfault on non-array argument to #write_array_of_*
  • Fix memory leak in MethodHandle . #815
  • Fix possible segfault in combination with fiddle or other libffi using gems . #835
  • Fix possibility to use ffi ruby gem with JRuby-9.3 . #763
  • Fix a GC issue, when a callback Proc is used on more than 2 callback signatures. #820

1.13.1 / 2020-06-09

Changed:

  • Revert use of ucrtbase.dll as default C library on Windows-MINGW. ucrtbase.dll is still used on MSWIN target. #790
  • Test for ffi_prep_closure_loc() to make sure we can use this function. This fixes incorrect use of system libffi on MacOS Mojave (10.14). #787
  • Update types.conf on x86_64-dragonflybsd

1.13.0 / 2020-06-01

Added:

  • Add TruffleRuby support. Almost all specs are running on TruffleRuby and succeed. #768
Commits
  • 8fd3cec Add CHANGELOG entry for ffi-1.14.1
  • ab3dd1e Bump VERSION to 1.14.1
  • a262e0e Merge pull request #861 from larskanis/revoke-806
  • 82602ec Revert "Merge pull request #806 from eregon/fix-write_string"
  • 0d8e581 Add Changelog entry for ffi-1.14.0
  • b69745e Bump VERSION to 1.14.0
  • 9535934 Add CI job for JRuby
  • f905616 Merge branch 'master' of github.com:ffi/ffi
  • 906114d Update bundled libffi to latest master
  • 8dd17c7 Merge pull request #856 from larskanis/move-to-travis-ci.com
  • Additional commits viewable in compare view


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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #39.