Update module github.com/pkg/sftp to v1.13.11 #5

Merged
Doridian merged 1 commit from renovate/github.com-pkg-sftp-1.x into main 2026-07-12 19:12:59 -07:00
Member

This PR contains the following updates:

Package Change Age Confidence
github.com/pkg/sftp v1.13.10v1.13.11 age confidence

Release Notes

pkg/sftp (github.com/pkg/sftp)

v1.13.11: - maintenance release

Compare Source

This release bounds an unchecked pre-allocation in the SSH_FILEXFER_ATTRS decoder, updates dependencies, and includes minor code cleanups.

Security/robustness

The attribute decoder (unmarshalFileStat) allocated the extended-attribute slice directly from the wire-supplied extended_count without bounding it against the available bytes. A peer could advertise a huge extended_count in a small packet and force a multi-gigabyte allocation up front, crashing the process with fatal error: out of memory before a single entry was parsed.

What's Changed
New Contributors

Full Changelog: https://github.com/pkg/sftp/compare/v1.13.10...v1.13.11


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/pkg/sftp](https://github.com/pkg/sftp) | `v1.13.10` → `v1.13.11` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpkg%2fsftp/v1.13.11?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpkg%2fsftp/v1.13.10/v1.13.11?slim=true) | --- ### Release Notes <details> <summary>pkg/sftp (github.com/pkg/sftp)</summary> ### [`v1.13.11`](https://github.com/pkg/sftp/releases/tag/v1.13.11): - maintenance release [Compare Source](https://github.com/pkg/sftp/compare/v1.13.10...v1.13.11) This release bounds an unchecked pre-allocation in the SSH\_FILEXFER\_ATTRS decoder, updates dependencies, and includes minor code cleanups. ##### Security/robustness The attribute decoder (`unmarshalFileStat`) allocated the extended-attribute slice directly from the wire-supplied `extended_count` without bounding it against the available bytes. A peer could advertise a huge `extended_count` in a small packet and force a multi-gigabyte allocation up front, crashing the process with `fatal error: out of memory` before a single entry was parsed. ##### What's Changed - fix: ineffective assignments by [@&#8203;alrs](https://github.com/alrs) in [#&#8203;650](https://github.com/pkg/sftp/pull/650) - refactor: replace interface{} with any (Go 1.18+) by [@&#8203;MD-Mushfiqur123](https://github.com/MD-Mushfiqur123) in [#&#8203;652](https://github.com/pkg/sftp/pull/652) - fix: bound extended-count pre-allocation in unmarshalFileStat by [@&#8203;drakkan](https://github.com/drakkan) (co-authored by [@&#8203;mjbommar](https://github.com/mjbommar)) ##### New Contributors - [@&#8203;alrs](https://github.com/alrs) made their first contribution in [#&#8203;650](https://github.com/pkg/sftp/pull/650) - [@&#8203;MD-Mushfiqur123](https://github.com/MD-Mushfiqur123) made their first contribution in [#&#8203;652](https://github.com/pkg/sftp/pull/652) **Full Changelog**: <https://github.com/pkg/sftp/compare/v1.13.10...v1.13.11> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI1OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update module github.com/pkg/sftp to v1.13.11
All checks were successful
Go check / check-go (pull_request) Successful in 31s
Nix check / check-nix (pull_request) Successful in 1m16s
76b61fe33d
Doridian deleted branch renovate/github.com-pkg-sftp-1.x 2026-07-12 19:12:59 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FoxDen/CCSFTP!5
No description provided.