-
Notifications
You must be signed in to change notification settings - Fork 631
Translation of 2019-10-01-code-injection-shell-test-cve-2019-16255 (es) #2153
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
es/news/_posts/2019-10-01-code-injection-shell-test-cve-2019-16255.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: news_post | ||
title: "CVE-2019-16255: Una vulnerabilidad de inyeccion de código en Shell#[] y Shell#test" | ||
author: "mame" | ||
translator: vtamara | ||
date: 2019-10-01 11:00:00 +0000 | ||
tags: security | ||
lang: es | ||
--- | ||
|
||
Se encontró una vulnerabilidad de inyección de código en Shell#[] y | ||
Shell#test en están en la librería estándar (lib/shell.rb). | ||
A la vulnerabilidad se le ha asignado el identificador | ||
:CVE [CVE-2019-16255](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255). | ||
|
||
## Detalles | ||
|
||
Shell#[] y su alías Shell#test que se definene en lib/shell.rb permiten | ||
inyectar código si el primer argumento (tambień conocido como | ||
el argumento con la "orden") es un dato no confiable. Un atacante | ||
puede explotar esto para llamar un método Ruby arbitrario. | ||
|
||
Note que pasar datos no confiables a métodos de Shell es en general | ||
peligroso. Los usuarios nunca deberían hacerlo. | ||
Sin embargo tratamos este caso particular como una vulnerabilidad | ||
porque el propósito de Shell#[] y Shell#test se considera | ||
chequear la existencia de un archivo. | ||
|
||
Todos los usuarios que corran una versión afectada deben actualizar | ||
de inmediato. | ||
|
||
## Versiones afectadas | ||
|
||
* Tdoas las versiones que son Ruby 2.3 o anteriores | ||
* Serie Ruby 2.4: Ruby 2.4.7 o anterior | ||
* Serie Ruby 2.5: Ruby 2.5.6 o anterior | ||
* Serie Ruby 2.6: Ruby 2.6.4 o anterior | ||
* Ruby 2.7.0-preview1 | ||
|
||
## Agradecimientos | ||
|
||
Gracias a [ooooooo_q](https://hackerone.com/ooooooo_q) por descubrir | ||
este problema. | ||
|
||
## Historia | ||
|
||
* Original publicado el 2019-10-01 11:00:00 (UTC) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.