The incident took place at around 10:15pm last night in the Inchicore area of Dublin.
The victim was rushed to St.James’s hospital, though his injuries are not believed to be life – threatening.
The area has been sealed for a forensic examination, and Gardai are appealing for witnesses.