Description
The put command functionality in beanstalkd 1.4.5 and earlier allows remote attackers to execute arbitrary Beanstalk commands via the body in a job that is too big, which is not properly handled by the dispatch_cmd function in prot.c.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | beanstalkd | 1.4.6-1 | — |
| Debian 13 | beanstalkd | 1.4.6-1 | — |
| Debian 12 | beanstalkd | 1.4.6-1 | — |
References
- http://kr.github.com/beanstalkd/2010/05/23/1.4.6-release-notes.html
- http://github.com/kr/beanstalkd/commit/2e8e8c6387ecdf5923dfc4d7718d18eba1b0873d
- beanstalkd-put-command-execution(59107) vdb-entry
- 40032 third-party-advisory
- 65113 vdb-entry
- 40516 vdb-entry