Well, like others said: the font and positioning (and beaming) make clear that the first is a fingering indication and the second is a triplet indication, but...
If I were playing this, I'd rather use a "1" on the first note, then a "3" where the triplet "3" is written. That way you can play a "4" on the B and don't need to change strings for two notes (what's that last A supposed to be? Another "4", making for a lonely "B" on the A string, or "0" making for a two note phrase on the A string?).
As a note aside: it would appear that this is sort of a partitura (since "Violin" is marked and other instruments apparently follow below) which makes it a bit unusual that fingering indications are printed at all.
But a bass figure this clearly ain't.